make file
This commit is contained in:
parent
3cc2d5ce50
commit
94e2fe736b
1 changed files with 4 additions and 4 deletions
|
@ -25,18 +25,18 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up ssh key folder
|
- name: Set up ssh key folder
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p $HOME/.ssh
|
||||||
- name: Write ssh key
|
- name: Write ssh key
|
||||||
id: sshkey
|
id: sshkey
|
||||||
uses: https://github.com/timheuer/base64-to-file@v1
|
uses: https://github.com/timheuer/base64-to-file@v1
|
||||||
with:
|
with:
|
||||||
encodedString: "${{ secrets.SSH_USER }}"
|
encodedString: "${{ secrets.SSH_USER }}"
|
||||||
fileName: id_ed25519
|
fileName: id_ed25519
|
||||||
fileDir: ~/.ssh
|
fileDir: $HOME/.ssh
|
||||||
- name: Make id_ed25519 user only
|
- name: Make id_ed25519 user only
|
||||||
run: |
|
run: |
|
||||||
ls -la ~/.ssh
|
ls -la $HOME/.ssh
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 $HOME/.ssh/id_ed25519
|
||||||
- uses: https://github.com/cachix/cachix-action@v15
|
- uses: https://github.com/cachix/cachix-action@v15
|
||||||
if: ${{ !github.event.pull_request.head.repo.fork }}
|
if: ${{ !github.event.pull_request.head.repo.fork }}
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue