forked from suse-edge/suse-edge.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 909 Bytes
/
test-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Test deployment
# https://github.com/peaceiris/actions-gh-pages/issues/852
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- 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