Make the matrix stop overwriting itself
This commit is contained in:
parent
05886ffb25
commit
89b9d71c4b
1 changed files with 23 additions and 3 deletions
26
.github/workflows/build_docs.yml
vendored
26
.github/workflows/build_docs.yml
vendored
|
@ -86,8 +86,11 @@ jobs:
|
|||
echo "::warning title=Invalid file permissions automatically fixed::$line"
|
||||
done
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
- name: Upload temporary Pages artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: github-pages-tmp
|
||||
path: _site/
|
||||
|
||||
generate:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -118,12 +121,29 @@ jobs:
|
|||
- name: Build web book
|
||||
run: $HEXDOC --lang ${{ matrix.lang }} -o _site
|
||||
|
||||
- name: Upload temporary Pages artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: github-pages-tmp
|
||||
path: _site/
|
||||
|
||||
bundle-pages:
|
||||
runs-on: ubuntu-latest
|
||||
needs: generate
|
||||
|
||||
steps:
|
||||
- name: Download temporary Pages artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: github-pages-tmp
|
||||
path: _site/
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
|
||||
deploy-pages:
|
||||
runs-on: ubuntu-latest
|
||||
needs: generate
|
||||
needs: bundle-pages
|
||||
|
||||
environment:
|
||||
name: github-pages
|
||||
|
|
Loading…
Reference in a new issue