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 bc638e5 commit ad6ddfdCopy full SHA for ad6ddfd
.github/workflows/deploy-cheatsheet.yml
@@ -0,0 +1,37 @@
1
+# .github/workflows/deploy-cheatsheet.yml
2
+
3
+name: Deploy Cheatsheet to GitHub Pages
4
5
+on:
6
+ push:
7
+ branches: [ main ] # Or your default branch
8
+ paths:
9
+ - 'doc/cheatsheet/**'
10
11
+permissions:
12
+ contents: read
13
+ pages: write
14
+ id-token: write
15
16
+concurrency:
17
+ group: 'pages'
18
+ cancel-in-progress: true
19
20
+jobs:
21
+ deploy:
22
+ runs-on: ubuntu-latest
23
24
+ steps:
25
+ - name: Checkout Repository
26
+ uses: actions/checkout@v3
27
28
+ - name: Setup Pages
29
+ uses: actions/configure-pages@v3
30
31
+ - name: Upload Cheatsheet files
32
+ uses: actions/upload-pages-artifact@v2
33
+ with:
34
+ path: doc/cheatsheet
35
36
+ - name: Deploy to GitHub Pages
37
+ uses: actions/deploy-pages@v2
0 commit comments