name: CI and DI on: push: branches: [ master ] pull_request: branches: [ master ] workflow_dispatch: jobs: build-deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set-up Node uses: actions/setup-node@v1 with: node-version: "14.2.x" - run: npm install - name: Deploy uses: JamesIves/github-pages-deploy-action@releases/v3 with: ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages FOLDER: dist