generated from Arquisoft/wiq_0
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 982 Bytes
/
pages-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
34
35
name: Build and Deploy of Documentation
on:
push:
branches:
- master
release:
types: [published]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Asciidoctor
run: gem install asciidoctor asciidoctor-diagram
- name: Installing dependencies
run: cd docs/ && npm install
- name: Building docs
run: cd docs/ && npm run build
- name: Deploying docs
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/build