diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index dd13d3e..0983e5f 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -10,7 +10,9 @@ jobs: runs-on: linux_amd64 steps: - name: Checkout - uses: actions/checkout@v4 + run: | + git clone --depth 1 "https://x-access-token:${GITEA_TOKEN}@gitea.services.ngcloud.ru/${{ gitea.repository }}.git" . + git checkout ${{ gitea.sha }} - name: Python syntax check run: |