Update .forgejo/workflows/deploy.yaml
Some checks failed
deploy blog / deploy (push) Failing after 27s
Some checks failed
deploy blog / deploy (push) Failing after 27s
Signed-off-by: xengi <cccb-git@xengi.de>
This commit is contained in:
parent
a649617fae
commit
2e059ecd21
1 changed files with 3 additions and 2 deletions
|
|
@ -36,14 +36,15 @@ jobs:
|
|||
run: |
|
||||
mkdir -p .ssh
|
||||
echo ${{ secrets.SSH_PRIVATE_KEY_STAGING }} > .ssh/id_ed25519
|
||||
chmod 600 .ssh/id_ed25519
|
||||
ssh-keygen -f .ssh/id_ed25519 -y > .ssh/id_ed25519.pub
|
||||
cat .ssh/id_ed25519.pub
|
||||
|
||||
- name: Setup SSH key
|
||||
if: forgejo.ref_name == 'production'
|
||||
run: |
|
||||
mkdir -p .ssh
|
||||
echo ${{ secrets.SSH_PRIVATE_KEY_PRODUCTION }} > .ssh/id_ed25519
|
||||
|
||||
- name: Check SSH key
|
||||
chmod 600 .ssh/id_ed25519
|
||||
ssh-keygen -f .ssh/id_ed25519 -y > .ssh/id_ed25519.pub
|
||||
cat .ssh/id_ed25519.pub
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue