Skip to content

Commit a2cb999

Browse files
committed
chore(ci): add artifact step to publish docs for troubleshooting
1 parent 0b399ea commit a2cb999

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: .github/workflows/reusable-publish-docs.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ jobs:
9494
- name: Copy API Docs
9595
run: |
9696
cp -r api site/
97+
- name: Create Artifact (Site)
98+
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
99+
with:
100+
name: site
101+
path: site
97102
- name: Deploy Docs (Version)
98103
env:
99104
VERSION: ${{ inputs.version }}
@@ -121,7 +126,7 @@ jobs:
121126
# 1. Download the versions.json file from S3
122127
# 2. Find any reference to the alias and delete it from the versions file
123128
# 3. This is voodoo (don't use JQ):
124-
# - we assign the input as $o and the new version/alias as $n,
129+
# - we assign the input as $o and the new version/alias as $n,
125130
# - we check if the version number exists in the file already (for republishing docs)
126131
# - if it's an alias (stage/latest/*) or old version, we do nothing and output $o (original input)
127132
# - if it's a new version number, we add it at position 0 in the array.

0 commit comments

Comments
 (0)