File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed
Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ jobs:
5757 exit 1
5858 fi
5959
60- - name : Archive build logs
60+ - name : Archive build artifacts
6161 uses : actions/upload-artifact@v4
6262 if : always()
6363 with :
64- name : build-logs
64+ name : build-artifacts
6565 path : build
6666 retention-days : 7
6767 compression-level : 6 # Default compression level for a good balance of speed and size
Original file line number Diff line number Diff line change 66 - " *.*.*"
77
88jobs :
9- deploy :
9+ build :
10+ uses : ./.github/workflows/build-guidelines.yml
1011
11- name : Deploy
12+ deploy :
13+ needs : build
1214 runs-on : ubuntu-latest
1315 steps :
14- # Call the main build workflow
15- - uses : ./.github/workflows/build-guidelines.yml
16- # If your main workflow is in a different file, adjust the path accordingly
17- - uses : peaceiris/actions-gh-pages@v4
16+ - name : Checkout code
17+ uses : actions/checkout@v3
18+
19+ - name : Download build artifacts
20+ uses : actions/download-artifact@v4
21+ with :
22+ name : build-artifacts
23+ path : build
24+
25+ - name : Deploy to GitHub Pages
26+ uses : peaceiris/actions-gh-pages@v4
1827 with :
1928 github_token : ${{ secrets.GITHUB_TOKEN }}
2029 publish_dir : ./build/html
You can’t perform that action at this time.
0 commit comments