Skip to content

Commit 93ce278

Browse files
committed
Simplify workflow.
1 parent bd1d3f1 commit 93ce278

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/build_book.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ jobs:
2828
#- run: ls -l -R
2929
- name: Run Converter
3030
run: dotnet run --project originlab.github.io/converter/generator/generator.csproj -- ${{ env.book_folder }} ${{ case(inputs.is_index, 'merge', '') }}
31-
- name: Upload book artifact
32-
uses: actions/upload-artifact@v7
31+
- name: Upload pages artifact
32+
uses: actions/upload-pages-artifact@v5
3333
with:
34-
name: book
3534
path: public_html
3635

.github/workflows/deploy.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,6 @@ jobs:
3232
url: ${{ steps.deployment.outputs.page_url }}
3333
runs-on: ubuntu-slim
3434
steps:
35-
- name: Download artifact
36-
uses: actions/download-artifact@v8
37-
with:
38-
name: book
39-
path: _site
40-
#- run: ls -l _site
41-
- name: Setup Pages
42-
uses: actions/configure-pages@v6
43-
- name: Upload pages artifact
44-
uses: actions/upload-pages-artifact@v5
4535
- name: Deploy to GitHub Pages
4636
id: deployment
4737
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)