fix cicd
Some checks failed
Build & Deploy on Dev / build (push) Failing after 38s

This commit is contained in:
Warunee Tamkoo 2025-09-16 15:09:48 +07:00
parent 0e8eb089ae
commit 51981d66e4

View file

@ -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