Skip to content

Commit

Permalink
deploy.yml: this probably does not work, but let's see what error it …
Browse files Browse the repository at this point in the history
…gives
  • Loading branch information
ray-chew committed Mar 23, 2024
1 parent aa6b84b commit 31d946e
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,8 @@ permissions:
contents: write

jobs:
get-runner:
name: get a runner to use for this workflow
if: ${{ always() }}
runs-on: custom-runner
outputs:
RUNNER: ${{ runner.name }}
steps:
- run: echo "selected runner = ${{ runner.name }}"
prepare:
needs: get-runner
runs-on: ${{needs.get-runner.outputs.RUNNER}}
outputs:
RUNNER: ${{ runner.name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ConorMacBride/install-package@v1
Expand All @@ -33,7 +22,7 @@ jobs:
pip install .
docs:
needs: prepare
runs-on: ${{needs.prepare.outputs.RUNNER}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Sphinx build
Expand All @@ -50,7 +39,7 @@ jobs:
force_orphan: true
dycore:
needs: prepare
runs-on: ${{needs.prepare.outputs.RUNNER}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
Expand Down

0 comments on commit 31d946e

Please sign in to comment.