fix(ci): use node:20-alpine container with inline openssh-client installation
Deploy Canina / deploy (push) Failing after 15s
Deploy Canina / deploy (push) Failing after 15s
This commit is contained in:
1 parent
7bf6c47ee6
commit
4f3db08bdb
1 file changed
+3
@@ -9,6 +9,8 @@ on:
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: canina
|
||||
container:
|
||||
image: node:20-alpine
|
||||
timeout-minutes: 40
|
||||
steps:
|
||||
- name: Setup SSH key
|
||||
@@ -16,6 +18,7 @@ jobs:
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.DEPLOY_KEY }}
|
||||
run: |
|
||||
apk add --no-cache openssh-client bash
|
||||
mkdir -p ~/.ssh
|
||||
echo "$SSH_KEY" > ~/.ssh/id_ed25519
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
Reference in new issue
Block a user