Skip to content

Commit

Permalink
Try actions to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Dec 20, 2023
1 parent f108966 commit f27617a
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,25 @@ on:
push:
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
build-doc:
build-and-publish-doc:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v4
- uses: cvmfs-contrib/github-action-cvmfs@v3
- uses: aidasoft/run-lcg-view@v4
with:
Expand All @@ -32,3 +45,13 @@ jobs:
echo -e "::endgroup::\n::group::build doc"
sphinx-build -M html doc doc_output
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: doc_output
- name: Deploy to Github pages
id: deployment
uses: actions/deploy-pages@v3

0 comments on commit f27617a

Please sign in to comment.