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

18 lines
471 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-Deploy
on:
push:
branches:
- main
jobs:
redeploy:
# 這裡不要用 ubuntu-latest改用你 Runner 名稱或自定義標籤
# 如果你在 Gitea 看到它的標籤有 self-hosted就填 self-hosted
runs-on: self-hosted
steps:
- name: Deploy
run: |
echo "==== 目前正在主機直接執行 ===="
whoami
cd /home/ubuntu/apps/linebot_finance
docker compose up -d --build