Skip to content

Commit

Permalink
wip: migration from Travis CI to GitHub Actions #149 [build doc]
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-greffe committed Dec 5, 2023
1 parent fb49071 commit 060759d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
with:
node-version: ${{ secrets.NODE_VERSION }}
- name: Build and deploy
run: ./.github/workflows/app.sh
run: |
chmod +x ./.github/workflows/app.sh
./.github/workflows/app.sh
doc:
if: ${{ contains(github.event.head_commit.message, '[build doc]') }}
runs-on: ubuntu-latest
Expand All @@ -25,7 +27,9 @@ jobs:
with:
node-version: ${{ secrets.NODE_VERSION }}
- name: Build doc
run: ./.github/workflows/doc.sh
run: |
chmod +x ./.github/workflows/doc.sh
./.github/workflows/doc.sh
- name: Deploy doc to GitHub Pages
uses: JamesIves/[email protected]
with:
Expand Down

0 comments on commit 060759d

Please sign in to comment.