File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 timeout-minutes : 30
1414 permissions :
1515 contents : write
16- checks : read
17- statuses : read
16+ pages : write
17+ id-token : write
1818 steps :
1919 - uses : actions/checkout@v4
2020 - name : Wait for Garnix flake.nix evaluation
@@ -41,12 +41,25 @@ jobs:
4141 - uses : DeterminateSystems/magic-nix-cache-action@v13
4242 - name : Build Web
4343 run : nix build .#web -o public-dist
44- - name : Deploy to GitHub Pages
45- uses : peaceiris/ actions-gh- pages@v4
44+ - name : Upload artifact
45+ uses : actions/upload- pages-artifact@v3
4646 with :
47- github_token : ${{ secrets.GITHUB_TOKEN }}
48- publish_dir : ./public-dist
49- cname : logout.guilhemfau.re
47+ path : ./public-dist
48+
49+ deploy :
50+ environment :
51+ name : github-pages
52+ url : ${{ steps.deployment.outputs.page_url }}
53+ runs-on : ubuntu-latest
54+ needs : deploy-pwa
55+ if : github.ref == 'refs/heads/main'
56+ permissions :
57+ pages : write
58+ id-token : write
59+ steps :
60+ - name : Deploy to GitHub Pages
61+ id : deployment
62+ uses : actions/deploy-pages@v4
5063
5164 release-android :
5265 name : Release Android
You can’t perform that action at this time.
0 commit comments