Skip to content

Commit

Permalink
Update deploying-static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DevAnsar committed Jan 4, 2024
1 parent 91a3ae2 commit 3d3c505
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/deploying-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,18 @@ jobs:
run: npm install --prefix docs
- name: Build
run: npm run build --prefix docs

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
name: docs-dist
path: 'docs/dist'

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
id: deployment
uses: actions/deploy-pages@v2
with:
github_token: ${{ secrets.CODECOV_TOKEN }}
publish_dir: docs/dist
artifact_dir: docs-dist

0 comments on commit 3d3c505

Please sign in to comment.