Skip to content

Commit 92926f3

Browse files
authored
fix(ci): Checkout repo on doc release (#1869)
* fix(ci): Clone repo for docs job * version docs
1 parent 20a4d94 commit 92926f3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,9 @@ jobs:
270270
id-token: write
271271
environment: Docs
272272
steps:
273-
- id: download_source
274-
name: Download artifacts
275-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.6.1
276-
with:
277-
name: source
273+
- id: checkout
274+
name: Checkout repository
275+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
278276
- name: Build
279277
run: |
280278
mkdir -p dist
@@ -290,4 +288,4 @@ jobs:
290288
run: |
291289
aws s3 sync \
292290
dist \
293-
s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/
291+
s3://${{ secrets.AWS_DOCS_BUCKET }}/lambda-java/${{ inputs.version }}/

0 commit comments

Comments
 (0)