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 b5de63a commit 7a6239bCopy full SHA for 7a6239b
.github/workflows/gh-pages-compile.yml
@@ -5,6 +5,7 @@ on:
5
branches:
6
- main
7
workflow_call:
8
+ workflow_dispatch:
9
10
jobs:
11
compie:
@@ -21,3 +22,4 @@ jobs:
21
22
23
- name: Build
24
run: hugo --minify
25
+
.github/workflows/gh-pages-deploy.yml
@@ -2,19 +2,20 @@ name: gh pages deploy
2
3
on:
4
push:
- branches:
- - deploy
+ branches: [ deploy ]
- compile:
- uses: ./.github/workflows/gh-pages-compile.yml
-
12
deploy:
13
runs-on: ubuntu-20.04
14
steps:
+ - name: Compile Step
+ uses: ./.github/workflows/gh-pages-compile.yml
15
- name: Deploy Step
16
uses: peaceiris/actions-gh-pages@v3
17
if: github.ref == 'refs/heads/deploy'
18
with:
19
github_token: ${{ secrets.GITHUB_TOKEN }}
20
publish_dir: ./public
0 commit comments