This commit is contained in:
parent
0e8eb089ae
commit
51981d66e4
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
context: .
|
context: .
|
||||||
file: ./docker/Dockerfile
|
file: Dockerfile
|
||||||
tags: ${{ env.CONTAINER_IMAGE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}:${{ env.IMAGE_VERSION }}
|
tags: ${{ env.CONTAINER_IMAGE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}:${{ env.IMAGE_VERSION }}
|
||||||
push: true
|
push: true
|
||||||
- name: Remote Deploy
|
- name: Remote Deploy
|
||||||
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
password: ${{ secrets.SSH_DEPLOY_PASSWORD }}
|
password: ${{ secrets.SSH_DEPLOY_PASSWORD }}
|
||||||
script: |
|
script: |
|
||||||
cd ~/repo
|
cd ~/repo
|
||||||
./replace-env.sh APP_EXAM "${{ env.IMAGE_VERSION }}"
|
./replace-env.sh API_EXAM "${{ inputs.version }}"
|
||||||
./deploy.sh hrms-api-exam
|
./deploy.sh hrms-api-exam
|
||||||
|
|
||||||
- name: Discord Notification
|
- name: Discord Notification
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue