mirror of
https://github.com/henry4682/linebot_finance.git
synced 2026-05-16 04:41:52 +00:00
change deploy.yaml ver4.
This commit is contained in:
@@ -7,12 +7,15 @@ on:
|
||||
jobs:
|
||||
redeploy:
|
||||
runs-on: ubuntu-latest
|
||||
# 加入下面這一行,強制不在容器內執行,直接在 Runner 所在的環境跑
|
||||
container:
|
||||
image:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
echo "Current User: $(whoami)"
|
||||
echo "==== 測試輸出 ===="
|
||||
cd /home/ubuntu/apps/linebot_finance
|
||||
docker compose up -d --build
|
||||
Reference in New Issue
Block a user