Skip to content

Commit

Permalink
Merge pull request #89 from Subaru-PFS/u/monodera/github_actions
Browse files Browse the repository at this point in the history
add GitHub Actions to deploy docs
  • Loading branch information
monodera authored Jun 25, 2024
2 parents 4d88c4b + 7d10eac commit ca33f0b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy Documentation on a sever

on:
push:
branches:
- main

jobs:
deploy:
runs-on: [self-hosted, pfs-etc]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
sparce-checkout: docs

- name: Install dependencies
run: pip install mkdocs "mkdocs-material[imaging]"

- name: Build and deploy documentation
run: mkdocs build --site-dir ${{ env.DOC_PATH }}

0 comments on commit ca33f0b

Please sign in to comment.