Ver Bump | Web Fixes | Runner Changes
This commit is contained in:
parent
1f3bbc8d40
commit
d03e81c939
8 changed files with 199 additions and 197 deletions
4
.github/workflows/api-container.yml
vendored
4
.github/workflows/api-container.yml
vendored
|
|
@ -18,7 +18,7 @@ on:
|
||||||
- api/**
|
- api/**
|
||||||
jobs:
|
jobs:
|
||||||
determine-workflow:
|
determine-workflow:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
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 }}
|
||||||
|
|
@ -45,6 +45,8 @@ jobs:
|
||||||
echo "workflow_envs=$workflow_envs" >> $GITHUB_OUTPUT
|
echo "workflow_envs=$workflow_envs" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
echo "Running $workflow_type pipeline in environments: $workflow_envs" >> $GITHUB_STEP_SUMMARY
|
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
|
- name: Extract Version
|
||||||
id: version
|
id: version
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|
|
||||||
2
.github/workflows/web-container.yml
vendored
2
.github/workflows/web-container.yml
vendored
|
|
@ -45,6 +45,8 @@ jobs:
|
||||||
echo "workflow_envs=$workflow_envs" >> $GITHUB_OUTPUT
|
echo "workflow_envs=$workflow_envs" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
echo "Running $workflow_type pipeline in environments: $workflow_envs" >> $GITHUB_STEP_SUMMARY
|
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
|
- name: Extract Version
|
||||||
id: version
|
id: version
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
9
.github/workflows/web-deploy-nonprod.yml
vendored
9
.github/workflows/web-deploy-nonprod.yml
vendored
|
|
@ -26,7 +26,7 @@ on:
|
||||||
COOLIFY_TOKEN: {}
|
COOLIFY_TOKEN: {}
|
||||||
jobs:
|
jobs:
|
||||||
check-inputs:
|
check-inputs:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|
@ -83,12 +83,11 @@ 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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to Coolify
|
- name: Deploy to Coolify
|
||||||
run: |
|
run: |
|
||||||
curl --request GET '${{ secrets.COOLIFY_WEBHOOK_WEB }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
|
curl -X GET '${{ secrets.COOLIFY_WEBHOOK_WEB }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
|
||||||
|
|
||||||
|
|
|
||||||
9
.github/workflows/web-deploy-prod.yml
vendored
9
.github/workflows/web-deploy-prod.yml
vendored
|
|
@ -26,7 +26,7 @@ on:
|
||||||
COOLIFY_TOKEN: {}
|
COOLIFY_TOKEN: {}
|
||||||
jobs:
|
jobs:
|
||||||
check-inputs:
|
check-inputs:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|
@ -83,12 +83,11 @@ 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: 'ubuntu-latest'
|
runs-on: ['self-hosted','pi']
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to Coolify
|
- name: Deploy to Coolify
|
||||||
run: |
|
run: |
|
||||||
curl --request GET '${{ secrets.COOLIFY_WEBHOOK_WEB }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
|
curl -X GET '${{ secrets.COOLIFY_WEBHOOK_WEB }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "shiftsync-website-api",
|
"name": "shiftsync-website-api",
|
||||||
"version": "1.0.1",
|
"version": "1.0.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "shiftsync-website-web",
|
"name": "shiftsync-website-web",
|
||||||
|
"version": "1.0.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.5",
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"local": "vite",
|
"local": "vite",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue