Skip to content

Commit 0338f6c

Browse files
committed
fix: update deploy logic
Updates deploy logic
1 parent 71680b0 commit 0338f6c

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/automatic-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ jobs:
1414
release-please:
1515
uses: RockefellerArchiveCenter/.github/.github/workflows/automatic-release.yml@base
1616
with:
17-
use-manifest: true
17+
use-manifest: true
18+
secrets: inherit

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ on:
44
push:
55
branches:
66
- development
7-
- base
7+
release:
8+
types: [published]
89
workflow_dispatch:
910

1011
jobs:
1112
deploy:
1213
runs-on: ubuntu-latest
1314
environment:
14-
name: ${{ github.ref_name }}
15+
name: ${{ github.event_name == 'release' && 'base' || github.ref_name }}
1516

1617
env:
1718
APPLICATION_NAME: aurora

0 commit comments

Comments
 (0)