mirror of
https://github.com/henry4682/linebot_finance.git
synced 2026-05-16 04:41:52 +00:00
change deploy.yaml ver 7.
This commit is contained in:
@@ -7,14 +7,8 @@ jobs:
|
||||
redeploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Deploy via SSH
|
||||
- name: Deploy
|
||||
run: |
|
||||
echo "${{ secrets.ORACLE_SSH_KEY }}" > /tmp/deploy_key
|
||||
chmod 600 /tmp/deploy_key
|
||||
ssh -i /tmp/deploy_key -o StrictHostKeyChecking=no ubuntu@64.110.81.100 "
|
||||
cd /home/ubuntu/apps/linebot_finance &&
|
||||
git pull &&
|
||||
docker compose up -d --build
|
||||
"
|
||||
cd /home/ubuntu/apps/linebot_finance
|
||||
git pull
|
||||
docker compose up -d --build
|
||||
Reference in New Issue
Block a user