Skip to content

Commit 3af8220

Browse files
committed
ci: fix yaml
1 parent 7da526c commit 3af8220

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/gitbook-action.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13+
- name: Get date
14+
uses: ajilraju/action-date@master
15+
id: datestep
1316
- name: Checkout Book
14-
- uses: actions/checkout@v2
17+
uses: actions/checkout@v2
1518
with:
1619
path: book
1720
- name: Setting-up Book
@@ -20,17 +23,19 @@ jobs:
2023
- run: gitbook install book
2124
- run: gitbook build book ../gh-pages
2225
- name: Checkout gh-pages
23-
- uses: actions/checkout@v2
26+
uses: actions/checkout@v2
2427
with:
2528
repository: Dronecode/camera-manager.dronecode.org
2629
path: gh-pages
2730
- run: ls -l gh-pages
31+
- run: echo ${{ steps.datestep.outputs }}
2832
- name: Deploying book
29-
- uses: EndBug/add-and-commit@v4
33+
uses: EndBug/add-and-commit@v4
3034
with:
3135
author_name: PX4BuildBot
3236
author_email: [email protected]
33-
message: "gitbook build update ${{date}}"
37+
#message: "gitbook build update ${{ date }}"
38+
message: "gitbook build update"
3439
cwd: "gh-pages"
3540
add: "*"
3641
env:

0 commit comments

Comments
 (0)