SCO launcher sets a longer waiting time for obtaining ID #360
Workflow file for this run
This file contains 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: Deploy Documentation | |
on: | |
push: | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: tps_sco_nv | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Extract tag | |
id: extract_tag | |
run: | | |
echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
echo "BRANCH_NAME=${{ github.head_ref }}" >> $GITHUB_ENV | |
- name: Build documentation | |
run: | | |
set -e | |
export PYTHONPATH="${PYTHONPATH}:$(pwd)" | |
cd docs | |
make clean | |
make html | |
cd .. | |
if [ ! -d "docs/build" ]; then | |
echo "Build directory does not exist." | |
exit 1 | |
fi |