File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ name: Build and deploy eQuantum site
33
44# 💎 Runs on workflow_run.conclusion
55on :
6+ push :
67 workflow_run :
7- types : [completed] # requested
8+ types : [completed]
89 workflows : ["pages-build-deployment"]
910
1011# 🪂 Allow concurrent deployment
2627jobs :
2728 # Build job
2829 github-pages :
29- if : github.event.workflow_run.conclusion == 'success'
30+ if : ${{github.event_name == 'push' ||
31+ github.event.workflow_run.conclusion == 'success'}}
3032 runs-on : ${{github.ref_name != 'main' && 'ubuntu-latest' || (
3133 github.ref_protected && 'windows-latest' || 'self-hosted') }}
3234 steps :
@@ -41,16 +43,17 @@ jobs:
4143 with :
4244 pre_build_commands : ' make build'
4345 token : ${{ secrets.JEKYLL_GITHUB_TOKEN }}
44- owner : ${{ secrets.JEKYLL_GITHUB_OWNER }}
4546
4647 - name : 📂Build on Windows
4748 if : runner.os == 'Windows'
4849 uses : eq19/maps@v1
4950 with :
5051 dotnet-version : ' 3.1.x'
51- owner : ${{ secrets.JEKYLL_GITHUB_OWNER }}
52+ token : ${{ secrets.JEKYLL_GITHUB_TOKEN }}
5253
5354 - name : 📂Build on Self-Hosted
54- if : ${{ ( runner.os != 'Linux') && ( runner.os != 'Windows') }}
55+ if : ${{runner.os != 'Linux' && runner.os != 'Windows'}}
5556 uses : actions/checkout@v2
56-
57+ with :
58+ token : ${{ secrets.JEKYLL_GITHUB_TOKEN }}
59+
You can’t perform that action at this time.
0 commit comments