Skip to content

Commit 5a1eab3

Browse files
committed
smart branch published
1 parent 5b10171 commit 5a1eab3

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

.github/workflows/docs.yml

+31-31
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,43 @@ name: docs
33
on:
44
push:
55
branches:
6-
- master
7-
- dev
6+
- master
7+
- smart
88
env:
99
SITE_DIR: "gh-pages"
1010
jobs:
1111
build_site:
1212
name: "Build site with Antora"
13-
runs-on: [ubuntu-latest]
13+
runs-on: [ ubuntu-latest ]
1414
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v2
17-
- name: "Generate site using antora site action"
18-
uses: kameshsampath/antora-site-action@master
19-
with:
20-
antora_playbook: site.yml
21-
- name: "Upload generated site"
22-
uses: actions/[email protected]
23-
with:
24-
name: site
25-
path: "${{ github.workspace }}/${{ env.SITE_DIR }}"
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
- name: "Generate site using antora site action"
18+
uses: kameshsampath/antora-site-action@master
19+
with:
20+
antora_playbook: site.yml
21+
- name: "Upload generated site"
22+
uses: actions/[email protected]
23+
with:
24+
name: site
25+
path: "${{ github.workspace }}/${{ env.SITE_DIR }}"
2626
deploy_site:
27-
runs-on: [ubuntu-latest]
28-
needs: [build_site]
27+
runs-on: [ ubuntu-latest ]
28+
needs: [ build_site ]
2929
name: "Deploy GitHub Pages"
3030
steps:
31-
- name: Checkout
32-
uses: actions/checkout@v2
33-
- name: Download generated site
34-
uses: actions/download-artifact@v4
35-
with:
36-
name: site
37-
path: "${{ github.workspace }}/${{ env.SITE_DIR }}"
38-
- name: Deploy to GitHub Pages
39-
uses: JamesIves/[email protected]
40-
with:
41-
# ACCESS_TOKEN: # optional
42-
GITHUB_TOKEN: "${{ github.token}}"
43-
FOLDER: "${{ env.SITE_DIR }}"
44-
BRANCH: "gh-pages"
45-
COMMIT_MESSAGE: "[CI] Publish Documentation for ${{ github.sha }}"
31+
- name: Checkout
32+
uses: actions/checkout@v2
33+
- name: Download generated site
34+
uses: actions/download-artifact@v4
35+
with:
36+
name: site
37+
path: "${{ github.workspace }}/${{ env.SITE_DIR }}"
38+
- name: Deploy to GitHub Pages
39+
uses: JamesIves/[email protected]
40+
with:
41+
# ACCESS_TOKEN: # optional
42+
GITHUB_TOKEN: "${{ github.token}}"
43+
FOLDER: "${{ env.SITE_DIR }}"
44+
BRANCH: "gh-pages"
45+
COMMIT_MESSAGE: "[CI] Publish Documentation for ${{ github.sha }}"

site.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ site:
88

99
content:
1010
sources:
11-
- url: [email protected]:redhat-scholars/serverless-workflow.git
12-
branches: [master, dev]
13-
start_path: documentation
11+
- url: [email protected]:redhat-scholars/serverless-workflow.git
12+
branches: [ master, smart ]
13+
start_path: documentation
1414

1515
asciidoc:
1616
attributes:
1717
release-version: master
1818
page-pagination: true
1919
extensions:
20-
- ./lib/tab-block.js
21-
- ./lib/remote-include-processor.js
20+
- ./lib/tab-block.js
21+
- ./lib/remote-include-processor.js
2222

2323
ui:
2424
bundle:

0 commit comments

Comments
 (0)