Skip to content

Commit

Permalink
update: deploy action in cicd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov authored Feb 10, 2025
1 parent 12c75ea commit ee33ea2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ jobs:
shell: bash -l {0}
run: |
npm install --legacy-peer-deps && npm run build
mkdir pages
cp build/index.html pages/
cp build/main.js pages/
cp build/*css pages/
- name: Deploy Build
uses: peaceiris/actions-gh-pages@v4
Expand All @@ -112,4 +116,4 @@ jobs:
# if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_dir: ./pages

0 comments on commit ee33ea2

Please sign in to comment.