diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b285aaa..a3a90e1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,5 +1,5 @@ -name: release-dev -run-name: release-dev ${{ github.actor }} +name: release-test +run-name: release-test ${{ github.actor }} on: # push: # tags: @@ -13,11 +13,10 @@ env: IMAGE_NAME: ehr/bma-ehr-user DEPLOY_HOST: frappet.com COMPOSE_PATH: /home/frappet/docker/bma-ehr-user - TOKEN_LINE: uxuK5hDzS2DsoC5piJBrWRLiz8GgY7iMZZldOWsDDF0 jobs: # act workflow_dispatch -W .github/workflows/release.yaml --input IMAGE_VER=test-v6.1 -s DOCKER_USER=sorawit -s DOCKER_PASS=P@ssword -s SSH_PASSWORD=P@ssw0rd - release-dev: + release-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -69,7 +68,7 @@ jobs: - uses: snow-actions/line-notify@v1.1.0 if: success() with: - access_token: ${{ env.TOKEN_LINE }} + access_token: ${{ secrets.TOKEN_LINE }} message: | -Success✅✅✅ Image: ${{env.IMAGE_NAME}} @@ -78,7 +77,7 @@ jobs: - uses: snow-actions/line-notify@v1.1.0 if: failure() with: - access_token: ${{ env.TOKEN_LINE }} + access_token: ${{ secrets.TOKEN_LINE }} message: | -Failure❌❌❌ Image: ${{env.IMAGE_NAME}}