aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHenrik Tjäder <henrik@tjaders.com>2023-03-04 00:15:32 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-04 00:15:32 +0100
commitbf35fa3f15d3cfc63a724eb71697aa7193b9836d (patch)
treefafa88337753ce9fe98902fff62e975ea8999bcd /.github
parent38a48e5d5cf8f81d53b84cee5a9109c664370fe8 (diff)
ci: Split out the actual GHA publish job
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 96e1540..c23be68 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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: