diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3acba54..b259eb4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,12 +11,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + run: | + git clone http://172.17.0.1:3000/kurihada/auth-backend.git . + git checkout ${{ github.sha }} - name: Build with Maven - run: | - apt-get update -qq && apt-get install -y -qq maven 2>/dev/null || true - mvn clean install -Dmaven.test.skip=true + run: mvn clean install -Dmaven.test.skip=true - name: Build Docker image run: docker build -t auth-backend:latest .