Skip to content

Commit

Permalink
Create deploy-to-github-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hardys authored Mar 25, 2024
1 parent 1f93071 commit cb98088
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-to-github-pages.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cb98088

Please sign in to comment.