From cb9808800bf826d0ac9f6d9d69bb07fe7b0b1e7b Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Mon, 25 Mar 2024 17:57:23 +0000 Subject: [PATCH] Create deploy-to-github-pages.yml --- .github/workflows/deploy-to-github-pages.yml | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/deploy-to-github-pages.yml diff --git a/.github/workflows/deploy-to-github-pages.yml b/.github/workflows/deploy-to-github-pages.yml new file mode 100644 index 00000000..f0f15aef --- /dev/null +++ b/.github/workflows/deploy-to-github-pages.yml @@ -0,0 +1,28 @@ +# This is a basic workflow to help you get started with Actions + +name: Deploy docs + +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Run the docs build in a container + uses: addnab/docker-run-action@v3 + with: + image: registry.opensuse.org/home/atgracey/cnbp/containers/builder:latest + options: -v ${{ github.workspace }}:/docs + run: | + cd /docs/asciidoc + daps -d DC-edge html