Skip to content

Commit

Permalink
Deploy my react app
Browse files Browse the repository at this point in the history
  • Loading branch information
rashen33 committed Sep 15, 2023
1 parent c8bbb0a commit 500c5ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test

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

0 comments on commit 500c5ff

Please sign in to comment.