Skip to content

Commit

Permalink
Get started with Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aniewielska committed Feb 14, 2022
1 parent aee0e32 commit a04adea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Build OpenAPI docs
on:
on:
- push
# - pull_request
jobs:
docs-build:
runs-on: ubuntu-latest
# env:
# TRAVIS_BRANCH: ${{ github.event.number }}
# TRAVIS_BRANCH: ${{ github.event.number }}
# a trick that builds docs for PRs (with PR number). Does not work for PRs from forks.
steps:
- name: Setup Node.js environment
uses: actions/[email protected]
with:
with:
node-version: 14.x
# Comes with npm 6. For newer Node, encountered: https://github.com/npm/cli/issues/3359
- run: npm install -g @redocly/openapi-cli && npm install -g redoc-cli
Expand Down

0 comments on commit a04adea

Please sign in to comment.