Skip to content

Commit ac7aabb

Browse files
committed
fix: more ci deployment fixes
Signed-off-by: Sam Gammon <[email protected]>
1 parent 7c5b0b0 commit ac7aabb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ jobs:
8282
needs: [build-dist]
8383
permissions:
8484
contents: read
85+
environment:
86+
name: workers
8587
steps:
8688
- name: "Setup: Harden Runner"
8789
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
@@ -109,7 +111,7 @@ jobs:
109111
- name: "Artifacts: Deployment Distributions"
110112
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
111113
with:
112-
name: ${{ needs.build-dist.outputs.artifact-id }}
114+
name: javamodules-dist-${{ github.sha }}
113115
- name: "Deploy: Graph Worker"
114116
run: pnpm run --filter="@javamodules/graph" deploy
115117
env:
@@ -124,6 +126,9 @@ jobs:
124126
needs: [build-dist, deploy-workers]
125127
permissions:
126128
contents: read
129+
environment:
130+
name: site
131+
url: https://javamodules.dev
127132
steps:
128133
- name: "Setup: Harden Runner"
129134
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
@@ -151,6 +156,6 @@ jobs:
151156
- name: "Artifacts: Deployment Distributions"
152157
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
153158
with:
154-
name: ${{ needs.build-dist.outputs.artifact-id }}
159+
name: javamodules-dist-${{ github.sha }}
155160
- name: "Stubbed"
156161
run: "echo Site deploy is stubbed from Workers"

0 commit comments

Comments
 (0)