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

Create docs2 #62

Merged
merged 3 commits into from
Mar 20, 2024
Merged
Changes from 1 commit
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
27 changes: 27 additions & 0 deletions .github/workflows/docs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Docs

on:
loiseaujc marked this conversation as resolved.
Show resolved Hide resolved
pull_request:
types:
- closed

jobs:
publish:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
loiseaujc marked this conversation as resolved.
Show resolved Hide resolved
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Build Documentation
uses: ResearchSoftwareActions/ford-build@v1.0
id: build

- name: Deploy to GitHub Pages
if: steps.build.outcome == 'success'
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: doc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading