ci: Expose generated docs as an artifact
This commit is contained in:
parent
191a747541
commit
4f45b8f8ff
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -258,3 +258,11 @@ jobs:
|
|||||||
repository-name: ruma/docs.ruma.io
|
repository-name: ruma/docs.ruma.io
|
||||||
branch: main
|
branch: main
|
||||||
ssh-key: ${{ secrets.DOCS_DEPLOY_KEY }}
|
ssh-key: ${{ secrets.DOCS_DEPLOY_KEY }}
|
||||||
|
|
||||||
|
- name: Compress docs
|
||||||
|
run: tar --zstd -cf docs.tar.zstd target/doc
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: docs
|
||||||
|
path: docs.tar.zstd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user