Skip to content

Commit

Permalink
Create main.yml - adding gh-pages deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyPickard committed Jun 11, 2023
1 parent 4e839f8 commit 3e84730
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- 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]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3e84730

Please sign in to comment.