try runners
This commit is contained in:
parent
616cc00bcf
commit
1b6c95bf95
3 changed files with 7 additions and 7 deletions
2
.github/workflows/api-container.yml
vendored
2
.github/workflows/api-container.yml
vendored
|
|
@ -18,7 +18,7 @@ on:
|
||||||
- api/**
|
- api/**
|
||||||
jobs:
|
jobs:
|
||||||
determine-workflow:
|
determine-workflow:
|
||||||
runs-on: ['self-hosted','pi']
|
runs-on: 'ubuntu-latest'
|
||||||
outputs:
|
outputs:
|
||||||
workflow_type: ${{ steps.workflow.outputs.workflow_type }}
|
workflow_type: ${{ steps.workflow.outputs.workflow_type }}
|
||||||
workflow_envs: ${{ steps.workflow.outputs.workflow_envs }}
|
workflow_envs: ${{ steps.workflow.outputs.workflow_envs }}
|
||||||
|
|
|
||||||
6
.github/workflows/api-deploy-nonprod.yml
vendored
6
.github/workflows/api-deploy-nonprod.yml
vendored
|
|
@ -26,7 +26,7 @@ on:
|
||||||
COOLIFY_TOKEN: {}
|
COOLIFY_TOKEN: {}
|
||||||
jobs:
|
jobs:
|
||||||
check-inputs:
|
check-inputs:
|
||||||
runs-on: ['self-hosted','pi']
|
runs-on: 'ubuntu-latest'
|
||||||
environment: ${{ inputs.environments }}
|
environment: ${{ inputs.environments }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check secrets present
|
- name: Check secrets present
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
needs: check-inputs
|
needs: check-inputs
|
||||||
if: needs.check-inputs.result == 'success' && inputs.workflow_type != 'release'
|
if: needs.check-inputs.result == 'success' && inputs.workflow_type != 'release'
|
||||||
environment: ${{ inputs.environments }}
|
environment: ${{ inputs.environments }}
|
||||||
runs-on: ['self-hosted','pi']
|
runs-on: 'ubuntu-latest'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|
@ -83,7 +83,7 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
if: needs.build.result == 'success' && inputs.workflow_type != 'release'
|
if: needs.build.result == 'success' && inputs.workflow_type != 'release'
|
||||||
environment: ${{ inputs.environments }}
|
environment: ${{ inputs.environments }}
|
||||||
runs-on: ['self-hosted','pi']
|
runs-on: 'ubuntu-latest'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|
|
||||||
6
.github/workflows/api-deploy-prod.yml
vendored
6
.github/workflows/api-deploy-prod.yml
vendored
|
|
@ -26,7 +26,7 @@ on:
|
||||||
COOLIFY_TOKEN: {}
|
COOLIFY_TOKEN: {}
|
||||||
jobs:
|
jobs:
|
||||||
check-inputs:
|
check-inputs:
|
||||||
runs-on: ['self-hosted','pi']
|
runs-on: 'ubuntu-latest'
|
||||||
environment: ${{ inputs.environments }}
|
environment: ${{ inputs.environments }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check secrets present
|
- name: Check secrets present
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
needs: check-inputs
|
needs: check-inputs
|
||||||
if: needs.check-inputs.result == 'success' && inputs.workflow_type == 'release'
|
if: needs.check-inputs.result == 'success' && inputs.workflow_type == 'release'
|
||||||
environment: ${{ inputs.environments }}
|
environment: ${{ inputs.environments }}
|
||||||
runs-on: ['self-hosted','pi']
|
runs-on: 'ubuntu-latest'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|
@ -83,7 +83,7 @@ jobs:
|
||||||
needs: build
|
needs: build
|
||||||
if: needs.build.result == 'success' && inputs.workflow_type == 'release'
|
if: needs.build.result == 'success' && inputs.workflow_type == 'release'
|
||||||
environment: ${{ inputs.environments }}
|
environment: ${{ inputs.environments }}
|
||||||
runs-on: ['self-hosted','pi']
|
runs-on: 'ubuntu-latest'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue