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:')
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||
- run: nix develop
|
||||
- name: Setup SSH key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
|
|
@ -20,4 +19,6 @@ jobs:
|
|||
chmod 600 ~/.ssh/id_rsa
|
||||
env:
|
||||
SSHKEY: ${{ secrets.SSHKEY }}
|
||||
- run: deploy
|
||||
- run: |
|
||||
nix develop &&
|
||||
deploy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue