Skip to content

Create main.yml - adding gh-pages deploy action #1

Create main.yml - adding gh-pages deploy action

Create main.yml - adding gh-pages deploy action #1

Workflow file for this run

- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx gh-pages -d build -u "github-actions-bot <[email protected]>"

Check failure on line 4 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}