diff --git a/.gitea/workflows/php-deployer.yaml b/.gitea/workflows/php-deployer.yaml index 5b1d2ab..a8de77b 100644 --- a/.gitea/workflows/php-deployer.yaml +++ b/.gitea/workflows/php-deployer.yaml @@ -33,7 +33,7 @@ jobs: uses: https://git.kjan.de/actions/build-push-action@v5 with: context: ./images/actions/php-deployer - push: true + push: ${{ github.ref == 'refs/heads/main' }} tags: | git.kjan.de/actions/php-deployer:latest git.kjan.de/actions/php-deployer:${{ gitea.run_number }}