Skip to content

Upload static assets to Dark canvas

Actions
Upload static assets to a Dark canvas as a part of your GitHub Actions pipeline
v1.0.0
Latest
Star (25)

Dark Static Assets Action

Upload Static Assets to a Dark canvas

GitHub Actions Example/Test

Usage

As a part of your GitHub Actions workflow, add a new step as follows:

name: Deploy
on:
  push:
    branches:
      - master

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      # Build, transpile etc.
      - name: Upload static assets to Dark canvas
        uses: gregbrimble/dark-static-assets-action@v1.0.0
        with:
          user: DARK_USERNAME_HERE
          password: ${{ secrets.DARK_PASSWORD }}
          canvas: DARK_CANVAS_NAME_HERE
          paths: PATH_TO_DIRECTORY_HERE

We strongly advise utilizing GitHub Actions secrets to securely store your Dark password.

A full example can be found in .github/workflows/default.yml.

Upload static assets to Dark canvas is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Upload static assets to a Dark canvas as a part of your GitHub Actions pipeline
v1.0.0
Latest

Upload static assets to Dark canvas is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.