diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 896da7d..11da917 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -16,11 +16,16 @@ jobs: steps: - name: Checkout run: | - rm -rf ./* - git clone --depth=1 --branch main http://localhost:3300/jimmy/t-youtube.git . 2>&1 + pwd + ls -la + rm -rf /tmp/t-yt-build + git clone --depth=1 --branch main http://localhost:3300/jimmy/t-youtube.git /tmp/t-yt-build 2>&1 - name: Build Docker image run: | + ls -la /tmp/t-yt-build/ + ls -la /tmp/t-yt-build/Dockerfile + cd /tmp/t-yt-build /volume1/@appstore/ContainerManager/usr/bin/docker build -t t-youtube:latest . 2>&1 - name: Swap container