Skip to content

Commit

Permalink
GHA: add ignore garbage to base64 decode
Browse files Browse the repository at this point in the history
ignore non-alphabet characters in secret

Signed-off-by: Robert Gałat <[email protected]>
  • Loading branch information
RobertGalatNordic committed May 28, 2024
1 parent 2487a43 commit 7176938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ jobs:
with:
name: documentation
path: |
/workdir/${ARCHIVE}
/workdir/${{env.ARCHIVE}}
- name: Prepare access key
run: |
mkdir -p /root/.ssh
ssh-keyscan upload-v1.zoominsoftware.io >> /root/.ssh/known_hosts
echo "${{ secrets.NCS_ZOOMIN_KEY }}" | base64 -d > zoomin_key
echo "${{ secrets.NCS_ZOOMIN_KEY }}" | base64 --decode --ignore-garbage > zoomin_key
chmod 600 zoomin_key
- name: Publish documentation
Expand Down

0 comments on commit 7176938

Please sign in to comment.