Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix schema doc build #69

Merged
merged 2 commits into from Jul 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/publishdocs.yml
@@ -1,8 +1,8 @@
name: Publish gxformat2 Docs
on:
push:
branches:
- master
on: [push, pull_request]
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -15,11 +15,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r dev-requirements.txt
- name: Build docs.
python -m pip install -r requirements.txt -r dev-requirements.txt
- name: Build docs
run: |
SKIP_JAVA=1 bash build_schema.sh
- name: Deploy Docs
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository_owner == 'galaxyproject'
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.GH_PAT }}
Expand Down
1 change: 1 addition & 0 deletions build_schema.sh
Expand Up @@ -22,6 +22,7 @@ do
--brandstyle '<link rel="stylesheet" href="https://jamestaylor.org/galaxy-bootstrap/galaxy_bootstrap.css">' \
--brandinverse \
--brand '<img src="icon.png" />' \
--brandlink '' \
--only "https://galaxyproject.org/gxformat2/${schema}#WorkflowDoc" \
--only "https://galaxyproject.org/gxformat2/${schema}#GalaxyWorkflow" \
workflow.yml > "$out"
Expand Down
2 changes: 1 addition & 1 deletion schema/v19_09/workflow.yml
Expand Up @@ -28,7 +28,7 @@ $graph:

- name: GalaxyType
type: enum
extends: "sld:PrimitiveType"
extends: sld:PrimitiveType
symbols:
- integer
- text
Expand Down