Skip to content

Create deploy-to-github-pages.yml #1

Create deploy-to-github-pages.yml

Create deploy-to-github-pages.yml #1

# 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