We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b9f033 commit 497a14bCopy full SHA for 497a14b
.github/workflows/pages.yml
@@ -49,20 +49,12 @@ jobs:
49
path: ./deployment
50
51
deploy:
52
+ environment:
53
+ name: github-pages
54
+ url: ${{ steps.deployment.outputs.page_url }}
55
runs-on: ubuntu-latest
56
needs: build
57
steps:
- - name: Checkout Repository
- uses: actions/checkout@v4
- - name: Download Build Artifact
58
- uses: actions/download-pages-artifact@v3
59
- - name: Deploy to `page` Branch
60
- run: |
61
- git config user.name "GitHub Actions"
62
- git config user.email "[email protected]"
63
- git checkout --orphan page
64
- git rm -rf .
65
- cp -r ./deployment/* .
66
- git add .
67
- git commit -m "Deploy to page branch"
68
- git push -f origin page
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v4
0 commit comments