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

[CI] Fix typo in GitHub context variable in documentation deploy pipeline #1194

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ concurrency:
env:
POETRY_VERSION: '1.6.1'
PYTHON_VERSION: '3.10'
BRANCH_NAME: "PR-${{ github.event.number }}"

jobs:
build-and-deploy-doc:
runs-on:
- self-hosted
- Linux
- doc
- doc-runner
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
Expand All @@ -38,14 +37,13 @@ jobs:
make doc
- name: Deploy documentation
run: |
echo "${GITHUB_REF}"
echo "${PR_NUMBER}"
echo "${{ github.ref_name }}"
echo "${{ github.head_ref }}"
if [[ ! -z "${{ github.event_number }}" ]];
if [[ -z "${{ github.event.number }}" ]];
then
BRANCH_NAME="${{ github.ref_name }}"
else
BRANCH_NAME="PR-${{ github.event.number }}"
fi
echo $BRANCH_NAME
mv site "${BRANCH_NAME}"
ls "${BRANCH_NAME}"
scp -r "${BRANCH_NAME}" "aramislab:/srv/local/clinica/docs/public/${BRANCH_NAME}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_converters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_instantiation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_non_regression_fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
steps:
- uses: actions/checkout@v4
- uses: snok/install-poetry@v1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_pipelines_anat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -99,6 +100,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_pipelines_anat_freesurfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
timeout-minutes: 1440
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_pipelines_dwi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_pipelines_dwi_preprocessing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -98,6 +99,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_pipelines_pet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
runs-on:
- self-hosted
- Linux
- test-runner
timeout-minutes: 720
steps:
- uses: actions/checkout@v4
Expand Down
Loading