fix CI: clone into workspace dir, not /tmp
Deploy t-youtube / Build & Deploy (push) Failing after 1s

This commit is contained in:
Gan, Jimmy
2026-07-09 23:05:14 +08:00
parent 1946aa845a
commit 613bff06f4
+2 -2
View File
@@ -16,11 +16,11 @@ jobs:
steps:
- name: Checkout
run: |
git clone --depth=1 --branch main http://localhost:3300/jimmy/t-youtube.git /tmp/t-youtube-build 2>&1
rm -rf ./*
git clone --depth=1 --branch main http://localhost:3300/jimmy/t-youtube.git . 2>&1
- name: Build Docker image
run: |
cd /tmp/t-youtube-build
/volume1/@appstore/ContainerManager/usr/bin/docker build -t t-youtube:latest . 2>&1
- name: Swap container