Skip to content

v1.6.0

v1.6.0 #26

Workflow file for this run

# This is a basic workflow to help you get started with Actions

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Autodeploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml: Unexpected tag '!github.event.release.prerelease'

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Autodeploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml: Unexpected tag '!github.event.release.prerelease'
name: Autodeploy
# Controls when the action will run.
on:
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Build
env:
ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
run: |
npm ci
npm run build
# Runs a set of commands using the runners shell
- name: Deploy
if: !github.event.release.prerelease
uses: JamesIves/[email protected]
with:
folder: dist
branch: gh-pages