Files
linebot_finance/.gitea/workflows/deploy.yaml
2026-03-11 02:08:28 +08:00

19 lines
520 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Oracle Auto Deploy
on:
push:
branches:
- main # 如果你的分支叫 master請改為 master
jobs:
redeploy:
runs-on: ubuntu-latest # 這裡會自動對應到你剛剛裝好的 oracle-runner
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Deploy to 1Panel Directory
run: |
# 進入你 Line Bot 所在的資料夾
cd /home/ubuntu/apps/linebot_finance
# 執行重啟與編譯
docker compose up -d --build