Update api-deploy-nonprod.yml
This commit is contained in:
parent
bcc9ffff74
commit
49a5389ab0
1 changed files with 7 additions and 1 deletions
8
.github/workflows/api-deploy-nonprod.yml
vendored
8
.github/workflows/api-deploy-nonprod.yml
vendored
|
|
@ -56,6 +56,12 @@ jobs:
|
||||||
echo "DOCKERHUB_TOKEN secret is set"
|
echo "DOCKERHUB_TOKEN secret is set"
|
||||||
fi
|
fi
|
||||||
echo "Current Version: ${{inputs.current_version}}"
|
echo "Current Version: ${{inputs.current_version}}"
|
||||||
|
updateVersion:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Bump version
|
||||||
|
run: npm version patch
|
||||||
build:
|
build:
|
||||||
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'
|
||||||
|
|
@ -90,4 +96,4 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to Coolify
|
- name: Deploy to Coolify
|
||||||
run: |
|
run: |
|
||||||
curl -X GET '${{ secrets.COOLIFY_WEBHOOK_API }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
|
curl -X GET '${{ secrets.COOLIFY_WEBHOOK_API }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'
|
||||||
Loading…
Reference in a new issue