Skip to content

Commit

Permalink
Update docs-deploy-surge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
recrwplay authored Jan 18, 2024
1 parent 982f9b2 commit 166f549
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs-deploy-surge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run_id: ${{ env.RUN_ID }},
});
var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == "${{ matrix.required-artifacts }}}"
return artifact.name == "${{ matrix.required-artifacts }}"
})[0];
if (matchArtifact != undefined) {
var download = await github.rest.actions.downloadArtifact({
Expand All @@ -53,8 +53,10 @@ jobs:
var fs = require('fs');
fs.writeFileSync('${{ env.WORKSPACE }}/${{ matrix.required-artifacts }}.zip', Buffer.from(download.data));
}
- run: unzip ${{ matrix.required-artifacts }}.zip
- id: unzip
if: ${{ hashFiles(${{ matrix.required-artifacts }}) != '' }}
run: unzip ${{ matrix.required-artifacts }}.zip

- id: get-deploy-id
run: |
Expand Down

0 comments on commit 166f549

Please sign in to comment.