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 328c416 commit 530b9a2Copy full SHA for 530b9a2
.github/workflows/main.yml
@@ -0,0 +1,31 @@
1
+name: Deploy
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+ workflow_dispatch:
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ if: github.ref != 'refs/heads/main'
12
+ steps:
13
+ - name: 'Checkout'
14
+ uses: actions/checkout@main
15
+ - name: 'Build only'
16
+ uses: shalzz/[email protected]
17
+ env:
18
+ BUILD_DIR: .
19
+ BUILD_ONLY: true
20
+ build_and_deploy:
21
22
+ if: github.ref == 'refs/heads/main'
23
24
25
26
+ name: 'Build and deploy'
27
28
29
+ PAGES_BRANCH: gh-pages
30
31
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments