Skip to content

Commit

Permalink
Create GH Actions to deploy the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
loiseaujc committed Mar 14, 2024
1 parent 9704c52 commit 7903e7a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docs

on: push

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build
id: build
uses: ResearchSoftwareActions/ford-build@v1
- name: Deploy
if: success()
uses: crazy-max/ghaction-github-pages@v1
with:
target_branch: gh-pages
build_dir: ${{ steps.build.outputs.output_dir }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7903e7a

Please sign in to comment.