Skip to content

Commit

Permalink
Switch to github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsmalladi committed Sep 22, 2022
1 parent c3b1985 commit 13920e1
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 69 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: docs-build-publish
on:
push:
branches:
- master
- develop
- "feature/issue-*"
- "fix/issue-*"
- "support/issue-*"
pull_request:
branches:
- master
- develop
- "feature/issue-*"
- "fix/issue-*"
- "support/issue-*"
jobs:
docs-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker Pull 🐳
run: |
docker pull ga4gh/gh-openapi-docs:0.2.3-rc1
- name: Build Docs 🔧
run: |
docker run --name docs-builder --rm -v `pwd`:/docs ga4gh/gh-openapi-docs:0.2.3-rc1
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: publish
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,6 @@ node_modules
# OS generated files #
.DS_Store
.DS_Store?

# Documentation build system artifacts
publish/
16 changes: 13 additions & 3 deletions .spec-docs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"apiSpecPath": "openapi/workflow_execution_service.openapi.yaml",
"redocTheme": "ga4gh"
}
"docsRoot": "docs",
"defaultBranch": "master",
"branchPathBase": "preview",
"redocTheme": "ga4gh",
"buildPages": [
{
"apiSpecPath": "openapi/workflow_execution_service.openapi.yaml",
"htmlOutfile": "index.html",
"yamlOutfile": "openapi.yaml",
"jsonOutfile": "openapi.json"
}
]
}
66 changes: 0 additions & 66 deletions .travis.yml

This file was deleted.

0 comments on commit 13920e1

Please sign in to comment.