-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 959 Bytes
/
docker.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
36
37
38
39
40
41
42
43
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: docker
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
packages: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: metanorma/metanorma:latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Flavor
uses: actions-mn/setup-flavors@v1
with:
extra-flavors: plateau
github-pakages-token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
use-bundler: true
- name: Metanorma generate site
uses: actions-mn/build-and-publish@v2
with:
agree-to-terms: true
destination: artifact