From 8cec21e77ebda2cecd4e3570aa465308bba09c7e Mon Sep 17 00:00:00 2001 From: csxj2026 Date: Thu, 7 May 2026 16:56:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/deploy.ya?= =?UTF-8?q?ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 160e2a0..50f3344 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -18,11 +18,12 @@ jobs: steps: - name: 检出代码 - uses: actions/checkout@v4 - with: - fetch-depth: 1 - lfs: false - submodules: false + run: | + export PATH="$HOME/.nix-profile/bin:/usr/local/bin:/usr/bin:/bin:$PATH" + export GIT_SSL_NO_VERIFY=1 + git clone https://git.boss160.cn/luo/c-xmot-iot.git . + git checkout ${{ github.sha }} + - name: 设置镜像标签 id: tag