Skip to content

Commit

Permalink
Fix: change fcm credential env
Browse files Browse the repository at this point in the history
  • Loading branch information
jokj624 committed Jan 8, 2024
1 parent 9e3fe26 commit cbc896c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: jsdaniell/[email protected]
with:
name: 'fcm-admin-credentials.json'
json: ${{ secrets.FIREBASE_JSON_DEV }}
json: ${{ secrets.FIREBASE_JSON_PROD }}
dir: 'src/'

- name: Install dependencies
Expand Down Expand Up @@ -69,16 +69,16 @@ jobs:
docker push $NAME/$REPO:prod
docker push $NAME/$REPO:prod-$shortHash
# - name: Run Deploy Script
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.REMOTE_IP }}
# username: ${{ secrets.REMOTE_SSH_ID }}
# key: ${{ secrets.REMOTE_SSH_KEY }}
# port: ${{ secrets.REMOTE_SSH_PORT }}
# script: |
# cd /opt/havit/docker
# sudo /opt/havit/docker/deploy.sh
- name: Run Deploy Script
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_IP }}
username: ${{ secrets.REMOTE_SSH_ID }}
key: ${{ secrets.REMOTE_SSH_KEY }}
port: ${{ secrets.REMOTE_SSH_PORT }}
script: |
cd /opt/havit/docker
sudo /opt/havit/docker/deploy.sh
- name: action-slack
uses: 8398a7/action-slack@v3
Expand Down

0 comments on commit cbc896c

Please sign in to comment.