Skip to content

Commit

Permalink
Testing docs deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cbuahin committed Jul 11, 2024
1 parent bd2f89a commit f48bd25
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
name: Build Docs

name: Build and Deploy Docs
on:
push:
branches: [ master, develop, release, docs ]
branches: [docs ]

pull_request:
branches: [ master, develop, release, docs ]
branches: [release, docs ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read
pull-requests: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

env:
OMP_NUM_THREADS: 1

jobs:
build_docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
name: Build Docs
runs-on: ubuntu-latest
steps:
Expand All @@ -31,4 +44,8 @@ jobs:
with:
name: docs
path: docs/html

- name: Deploy Docs
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit f48bd25

Please sign in to comment.