Merge pull request #129 from galaxyproject/dependabot/npm_and_yarn/ty… #330
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish gxformat2 Docs | |
| on: [push, pull_request] | |
| concurrency: | |
| group: docs-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| cache: pip | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements.txt -r dev-requirements.txt | |
| - name: Build docs | |
| run: | | |
| SKIP_JAVA=1 SKIP_TYPESCRIPT=1 bash build_schema.sh | |
| - name: Deploy Docs | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'galaxyproject' | |
| uses: JamesIves/github-pages-deploy-action@releases/v4 | |
| with: | |
| folder: dist/schema | |