deploy: fix: must be nested
This commit is contained in:
parent
8b992b53d8
commit
cc6d92917c
1 changed files with 3 additions and 2 deletions
|
|
@ -12,7 +12,6 @@ jobs:
|
||||||
if: contains(github.event.head_commit.message, 'deploy:')
|
if: contains(github.event.head_commit.message, 'deploy:')
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- run: nix develop
|
|
||||||
- name: Setup SSH key
|
- name: Setup SSH key
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
|
|
@ -20,4 +19,6 @@ jobs:
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
env:
|
env:
|
||||||
SSHKEY: ${{ secrets.SSHKEY }}
|
SSHKEY: ${{ secrets.SSHKEY }}
|
||||||
- run: deploy
|
- run: |
|
||||||
|
nix develop &&
|
||||||
|
deploy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue