Skip to content

Commit dd94427

Browse files
committed
add artifact upload/download
1 parent e879728 commit dd94427

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ jobs:
8383
github_token: ${{ secrets.GITHUB_TOKEN }}
8484
publish_dir: ./public
8585

86+
- name: Upload site for indexing
87+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
88+
with:
89+
name: site-for-indexing
90+
path: ./public
91+
8692
index:
8793
# this job effectively tests the indexing before the next job that
8894
# clears it (so that the site doesn't end up empty if the indexing fails)
@@ -92,6 +98,12 @@ jobs:
9298
steps:
9399
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
94100

101+
- name: Download site for indexing
102+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
103+
with:
104+
name: site-for-indexing
105+
path: ./public
106+
95107
- name: Set up Python
96108
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
97109
with:

0 commit comments

Comments
 (0)