Skip to content

Commit 4769ef0

Browse files
committed
restore blog post
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
2 parents f8a03ff + 1109984 commit 4769ef0

File tree

14 files changed

+550
-256
lines changed

14 files changed

+550
-256
lines changed

.github/workflows/build-and-preview-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: bash ./script.sh
2929

3030
- name: Upload files
31-
uses: actions/upload-artifact@master
31+
uses: actions/upload-artifact@v6
3232
with:
3333
name: public-dir
3434
path: ./public-dir.zip

.github/workflows/preview-site.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ on:
99
jobs:
1010
deploy-preview:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
actions: read
14+
contents: read
1215
steps:
1316
- name: Checkout code
1417
uses: actions/checkout@v6
1518

1619
- name: Download Site dir
17-
uses: dawidd6/action-download-artifact@v11
20+
uses: actions/download-artifact@v7
1821
with:
19-
github_token: ${{ secrets.GH_ACCESS_TOKEN }}
20-
workflow: build-and-preview-site.yml
21-
run_id: ${{ github.event.workflow_run.id }}
22+
github-token: ${{ github.token }}
23+
run-id: ${{ github.event.workflow_run.id }}
2224
name: public-dir
2325

2426
- name: Unzip Site
@@ -44,5 +46,3 @@ jobs:
4446
with:
4547
token: ${{ secrets.GH_ACCESS_TOKEN }}
4648
deploy_url: "${{ steps.netlify.outputs.deploy-url }}"
47-
48-

0 commit comments

Comments
 (0)