Moved trigger

This commit is contained in:
Fabrizio Branca
2024-03-01 15:49:36 +01:00
parent 2f6c3e1833
commit 91392af5fc
2 changed files with 1 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ jobs:
deploy-test: deploy-test:
uses: ./.github/workflows/s3_sync.yml uses: ./.github/workflows/s3_sync.yml
if: github.ref == 'refs/heads/main'
with: with:
bucket: techradar-test-aoe bucket: techradar-test-aoe

View File

@@ -11,7 +11,6 @@ jobs:
s3-sync: s3-sync:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
if: github.ref == 'refs/heads/main'
# if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository # if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
environment: environment:
name: ${{ inputs.bucket }} name: ${{ inputs.bucket }}