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