We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent def3fe7 commit 2a80d55Copy full SHA for 2a80d55
.github/workflows/gh-pages.yml
@@ -1 +1,36 @@
1
-.github/workflows/gh-pages.yml
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+permissions:
10
+ contents: read
11
+ pages: write
12
+ id-token: write
13
14
+jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
18
+ steps:
19
+ - name: Checkout source
20
+ uses: actions/checkout@v4
21
22
+ - name: Upload artifact
23
+ uses: actions/upload-pages-artifact@v2
24
+ with:
25
+ path: ./
26
27
+ deploy:
28
+ needs: build
29
30
+ environment:
31
+ name: github-pages
32
+ url: ${{ steps.deploy.outputs.page_url }}
33
34
+ - name: Deploy to GitHub Pages
35
+ id: deploy
36
+ uses: actions/deploy-pages@v2
0 commit comments