Skip to content

Commit

Permalink
ci: fix yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpollo committed Apr 29, 2020
1 parent 7da526c commit fc20582
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/gitbook-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Get date
uses: ajilraju/action-date@master
id: datestep
- name: Checkout Book
- uses: actions/checkout@v2
uses: actions/checkout@v2
with:
path: book
- name: Setting-up Book
Expand All @@ -20,17 +23,18 @@ jobs:
- run: gitbook install book
- run: gitbook build book ../gh-pages
- name: Checkout gh-pages
- uses: actions/checkout@v2
uses: actions/checkout@v2
with:
repository: Dronecode/camera-manager.dronecode.org
path: gh-pages
- run: ls -l gh-pages
- run: echo ${{ steps.datestep.outputs }}
- name: Deploying book
- uses: EndBug/add-and-commit@v4
uses: EndBug/add-and-commit@v4
with:
author_name: PX4BuildBot
author_email: [email protected]
message: "gitbook build update ${{date}}"
message: "gitbook build update ${{ date }}"
cwd: "gh-pages"
add: "*"
env:
Expand Down

0 comments on commit fc20582

Please sign in to comment.