Skip to content

Commit

Permalink
refactor(gh-pages): Rename workflow to show it does more than apidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
vsaw committed Dec 21, 2020
1 parent fe96e5f commit fd1986f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/apidoc.yml → .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: API Documentation
name: GitHub Page & API Documentation

on:
push:
Expand All @@ -12,16 +12,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js
uses: actions/setup-node@v1

- name: Generate API Documentation
run: npm run generateapidoc
run: mv .build/apidoc . # Move the apidoc build artifacts so the links in README.md work
run: npm run generateapidoc && mv .build/apidoc . # Move the apidoc build artifacts so the links in README.md work

- name: Deploy
- name: Deploy Page
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./
enable_jekyll: true

0 comments on commit fd1986f

Please sign in to comment.