Merge branch 'test-deploy' of https://github.com/Doble-Technologies/ShiftSync-Website into test-deploy
This commit is contained in:
commit
7131a9bb83
5 changed files with 26 additions and 30 deletions
2
.github/workflows/api-container.yml
vendored
2
.github/workflows/api-container.yml
vendored
|
|
@ -45,8 +45,6 @@ jobs:
|
|||
echo "workflow_envs=$workflow_envs" >> $GITHUB_OUTPUT
|
||||
|
||||
echo "Running $workflow_type pipeline in environments: $workflow_envs" >> $GITHUB_STEP_SUMMARY
|
||||
- name: Install jq
|
||||
run: sudo apt-get update && sudo apt-get install -y jq
|
||||
- name: Extract Version
|
||||
id: version
|
||||
shell: bash
|
||||
|
|
|
|||
2
.github/workflows/pr-validation.yml
vendored
2
.github/workflows/pr-validation.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ['self-hosted', 'pi']
|
||||
runs-on: 'ubuntu-latest'
|
||||
steps:
|
||||
- uses: TimonVS/pr-labeler-action@v5
|
||||
with:
|
||||
|
|
|
|||
4
.github/workflows/web-container.yml
vendored
4
.github/workflows/web-container.yml
vendored
|
|
@ -18,7 +18,7 @@ on:
|
|||
- web/**
|
||||
jobs:
|
||||
determine-workflow:
|
||||
runs-on: ['self-hosted','pi']
|
||||
runs-on: 'ubuntu-latest'
|
||||
outputs:
|
||||
workflow_type: ${{ steps.workflow.outputs.workflow_type }}
|
||||
workflow_envs: ${{ steps.workflow.outputs.workflow_envs }}
|
||||
|
|
@ -45,8 +45,6 @@ jobs:
|
|||
echo "workflow_envs=$workflow_envs" >> $GITHUB_OUTPUT
|
||||
|
||||
echo "Running $workflow_type pipeline in environments: $workflow_envs" >> $GITHUB_STEP_SUMMARY
|
||||
- name: Install jq
|
||||
run: sudo apt-get update && sudo apt-get install -y jq
|
||||
- name: Extract Version
|
||||
id: version
|
||||
shell: bash
|
||||
|
|
|
|||
6
.github/workflows/web-deploy-nonprod.yml
vendored
6
.github/workflows/web-deploy-nonprod.yml
vendored
|
|
@ -26,7 +26,7 @@ on:
|
|||
COOLIFY_TOKEN: {}
|
||||
jobs:
|
||||
check-inputs:
|
||||
runs-on: ['self-hosted','pi']
|
||||
runs-on: 'ubuntu-latest'
|
||||
environment: ${{ inputs.environments }}
|
||||
steps:
|
||||
- name: Check secrets present
|
||||
|
|
@ -60,7 +60,7 @@ jobs:
|
|||
needs: check-inputs
|
||||
if: needs.check-inputs.result == 'success' && inputs.workflow_type != 'release'
|
||||
environment: ${{ inputs.environments }}
|
||||
runs-on: ['self-hosted','pi']
|
||||
runs-on: 'ubuntu-latest'
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
|
@ -83,7 +83,7 @@ jobs:
|
|||
needs: build
|
||||
if: needs.build.result == 'success' && inputs.workflow_type != 'release'
|
||||
environment: ${{ inputs.environments }}
|
||||
runs-on: ['self-hosted','pi']
|
||||
runs-on: 'ubuntu-latest'
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
|
|
|||
6
.github/workflows/web-deploy-prod.yml
vendored
6
.github/workflows/web-deploy-prod.yml
vendored
|
|
@ -26,7 +26,7 @@ on:
|
|||
COOLIFY_TOKEN: {}
|
||||
jobs:
|
||||
check-inputs:
|
||||
runs-on: ['self-hosted','pi']
|
||||
runs-on: 'ubuntu-latest'
|
||||
environment: ${{ inputs.environments }}
|
||||
steps:
|
||||
- name: Check secrets present
|
||||
|
|
@ -60,7 +60,7 @@ jobs:
|
|||
needs: check-inputs
|
||||
if: needs.check-inputs.result == 'success' && inputs.workflow_type == 'release'
|
||||
environment: ${{ inputs.environments }}
|
||||
runs-on: ['self-hosted','pi']
|
||||
runs-on: 'ubuntu-latest'
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
|
@ -83,7 +83,7 @@ jobs:
|
|||
needs: build
|
||||
if: needs.build.result == 'success' && inputs.workflow_type == 'release'
|
||||
environment: ${{ inputs.environments }}
|
||||
runs-on: ['self-hosted','pi']
|
||||
runs-on: 'ubuntu-latest'
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
|
|
|||
Loading…
Reference in a new issue