Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish user manual on GitHub pages #251

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,35 @@ jobs:
[Release ${{ needs.version.outputs.version }}][release] was built and published successfully!

[release]: ${{ steps.create_release.outputs.url }}

github-pages:
name: Publish user manual to GitHub Pages
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Download artifacts
# This downloads the uploaded artifacts to the current directory; the
# path format for downloaded artifacts is `{name}/{basename}`, where
# `{basename}` is the basename of the upload `path`.
#
# For example, the following artifact:
#
# - uses: actions/upload-artifact@v3
# with:
# name: linux
# path: target/release/ghciwatch-aarch64-linux
#
# will be downloaded to `linux/ghciwatch-aarch64-linux`.
uses: actions/download-artifact@v3

- name: Extract user manual
run: |
tar --extract \
--verbose \
--file linux/ghciwatch-user-manual.tar.xz

- name: Publish to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ghciwatch-user-manual/
Loading