Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
max1mde authored Feb 11, 2024
1 parent f432636 commit bff1d19
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set Git identity
run: |
git config --global user.email "maximdeclient@gmail.com"
git config --global user.name "Maxim"
- name: Set up Node.js
uses: actions/setup-node@v2
with:
Expand All @@ -26,13 +31,7 @@ jobs:
working-directory: ./frontend
run: npm run predeploy

- name: Run
working-directory: ./frontend
run: npm run deploy

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
branch: gh-pages
folder: frontend/dist
token: ${{ secrets.GH_TOKEN }}
run: npm run deploy
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit bff1d19

Please sign in to comment.