Moved trigger
This commit is contained in:
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
1
.github/workflows/s3_sync.yml
vendored
1
.github/workflows/s3_sync.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user