mirror of
https://github.com/henry4682/linebot_finance.git
synced 2026-05-16 04:41:52 +00:00
Update deploy.yaml
This commit is contained in:
@@ -1,14 +1,19 @@
|
|||||||
name: Oracle-Deploy
|
name: Deploy to Oracle
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
redeploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy
|
- name: Deploy via SSH
|
||||||
run: |
|
uses: appleboy/ssh-action@v1.0.0
|
||||||
|
with:
|
||||||
|
host: 64.110.81.100
|
||||||
|
username: ubuntu
|
||||||
|
key: ${{ secrets.ORACLE_SSH_KEY }}
|
||||||
|
script: |
|
||||||
git config --global --add safe.directory /home/ubuntu/apps/linebot_finance
|
git config --global --add safe.directory /home/ubuntu/apps/linebot_finance
|
||||||
cd /home/ubuntu/apps/linebot_finance
|
cd /home/ubuntu/apps/linebot_finance
|
||||||
git pull
|
git pull
|
||||||
|
|||||||
Reference in New Issue
Block a user