Skip to content

Commit

Permalink
Add workflow to deploy docs to gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ezmiller committed Feb 25, 2024
1 parent 944f01a commit d156d52
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Deploy

on:
workflow_dispatch:
pull_request:
branches: [ master ]
permissions:
contents: write

concurrency: build-and-deploy-${{ github.ref }}

jobs:
# we may add a build job here at some point that for instance
# builds the docs so we don't have to generate them at run time

deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v4

- name: Deploy docs to gh-branches
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs
branch: gh-pages # default for this action, but including to be explicit


0 comments on commit d156d52

Please sign in to comment.