Skip to content

Commit 0ec1550

Browse files
committed
ci fix
1 parent 7d28a3b commit 0ec1550

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/pages.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: pages
2+
on:
3+
push:
4+
branches: ["master"]
5+
# to run this workflow manually
6+
workflow_dispatch:
7+
8+
permissions:
9+
# to read the docs
10+
contents: read
11+
# to deploy to Pages
12+
pages: write
13+
# to verify the deployment source
14+
id-token: write
15+
16+
concurrency:
17+
group: "pages"
18+
cancel-in-progress: true
19+
20+
jobs:
21+
deploy:
22+
environment:
23+
name: github-pages
24+
url: ${{ steps.deployment.outputs.page_url }}
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout without submodules
28+
uses: actions/checkout@v4
29+
with:
30+
submodules: false
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v2
33+
- name: Upload artifact
34+
uses: actions/upload-pages-artifact@v1
35+
with:
36+
path: "docs/"
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)