Skip to content

Commit

Permalink
separate job for deploy to GH pages per GH docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maks committed Dec 11, 2024
1 parent 48de938 commit f4f7a33
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
path: build/web/

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

uses: actions/deploy-pages@v4

0 comments on commit f4f7a33

Please sign in to comment.