Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Add umask to SSH phase
Browse files Browse the repository at this point in the history
  • Loading branch information
anli5005 committed Dec 28, 2023
1 parent 4cbed98 commit 7d6961c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
tags: tag:cis1951
- name: Write SSH files
run: |
umask 077
echo "${{ secrets.SSH_KEY }}" > ${{ runner.temp }}/id_cis1951
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ${{ runner.temp }}/known_hosts
- name: Upload files
Expand Down

0 comments on commit 7d6961c

Please sign in to comment.