Skip to content

Commit

Permalink
Write to temporary file
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Feb 9, 2024
1 parent 8f89145 commit 23c60d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-documentation-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ jobs:
run: zip -r site.zip _site

- name: Sign the artifact
run: openssl dgst -sha256 -sign ${{ secrets.CI_PREVIEW_SIGNING_RSA_PRIVATE_KEY }} -out signature.bin site.zip
run: |
echo ${{ secrets.CI_PREVIEW_SIGNING_RSA_PRIVATE_KEY }} > private.pem
openssl dgst -sha256 -sign private.pem -out signature.bin site.zip
unlink private.pem
- name: Upload the artifact
run: |
Expand Down

0 comments on commit 23c60d1

Please sign in to comment.