Fixed dependencies

This commit is contained in:
Fabrizio Branca
2024-03-01 15:55:08 +01:00
parent f836c2327d
commit 3f1c095a5e
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
name: Build Technology Radar name: Build Technology Radar
on: on:
workflow_dispatch: workflow_dispatch: # allows triggering the workflow manually
pull_request: pull_request:
push: push:
branches: branches:
@@ -27,6 +27,7 @@ jobs:
deploy-test: deploy-test:
uses: ./.github/workflows/s3_sync.yml uses: ./.github/workflows/s3_sync.yml
needs: build
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
with: with:
bucket: techradar-test-aoe bucket: techradar-test-aoe

View File

@@ -10,7 +10,6 @@ on:
jobs: jobs:
s3-sync: s3-sync:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build
# 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 }}