mirror of
https://github.com/henry4682/linebot_finance.git
synced 2026-05-16 04:41:52 +00:00
change deploy.yaml ver3.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Oracle Auto Deploy
|
||||
name: Oracle-Deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -8,16 +8,11 @@ jobs:
|
||||
redeploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Deploy to 1Panel Directory
|
||||
shell: bash
|
||||
- name: Deploy
|
||||
run: |
|
||||
echo "Checking environment..."
|
||||
whoami
|
||||
pwd
|
||||
ls -lh /home/ubuntu/apps/linebot_finance
|
||||
echo "Current User: $(whoami)"
|
||||
cd /home/ubuntu/apps/linebot_finance
|
||||
docker compose up -d --build
|
||||
echo "Deploy Finished!"
|
||||
Reference in New Issue
Block a user