Remove git pull - using dedicated deployment directory
Some checks failed
CI/CD Pipeline - Apartment API / Run Tests (push) Failing after 1s
CI/CD Pipeline - Apartment API / Build & Push Image (push) Has been skipped
CI/CD Pipeline - Apartment API / Deploy to Production (push) Has been skipped

This commit is contained in:
2026-01-22 15:33:15 -07:00
parent f0c674d877
commit 47743656e2

View File

@ -124,10 +124,6 @@ jobs:
# Navigate to deployment directory # Navigate to deployment directory
cd ${{ secrets.DEPLOY_PATH }} cd ${{ secrets.DEPLOY_PATH }}
# Pull latest docker-compose.yml and other config
git fetch origin main
git reset --hard origin/main
# Log in to Harbor (credentials are masked by Gitea Actions) # Log in to Harbor (credentials are masked by Gitea Actions)
echo "${{ secrets.HARBOR_PASSWORD }}" | docker login ${{ secrets.HARBOR_REGISTRY }} -u ${{ secrets.HARBOR_USERNAME }} --password-stdin echo "${{ secrets.HARBOR_PASSWORD }}" | docker login ${{ secrets.HARBOR_REGISTRY }} -u ${{ secrets.HARBOR_USERNAME }} --password-stdin