mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-25 03:19:34 +01:00
ci: Split out the actual GHA publish job
This commit is contained in:
parent
38a48e5d5c
commit
bf35fa3f15
1 changed files with 25 additions and 0 deletions
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
|
@ -568,6 +568,31 @@ jobs:
|
|||
cp CNAME $td/
|
||||
mv $td/ bookstodeploy
|
||||
|
||||
- name: Archive the webroot
|
||||
run: |
|
||||
tar -cf bookstodeploy.tar bookstodeploy
|
||||
|
||||
- name: Store the books
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: bookstodeploy
|
||||
path: bookstodeploy.tar
|
||||
|
||||
ghapages:
|
||||
name: Publish rtic.rs
|
||||
runs-on: ubuntu-22.04
|
||||
needs:
|
||||
- deploy
|
||||
steps:
|
||||
- name: Download books
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: bookstodeploy
|
||||
|
||||
- name: Extract the books
|
||||
run: |
|
||||
tar -xf bookstodeploy.tar
|
||||
|
||||
- name: Deploy to GH-pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue