fix: production URLs, seed __dirname, CI/CD runner with pre-installed SSH
Some checks failed
Deploy Canina / deploy (push) Failing after 3s
Some checks failed
Deploy Canina / deploy (push) Failing after 3s
This commit is contained in:
parent
1b2040c880
commit
8cda55a36b
@ -6,16 +6,12 @@ on:
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ci-runner:latest
|
||||
defaults:
|
||||
run:
|
||||
shell: sh
|
||||
steps:
|
||||
- name: Install SSH client
|
||||
run: |
|
||||
V=$(cut -d'.' -f1-2 /etc/alpine-release)
|
||||
echo "https://dl-cdn.alpinelinux.org/alpine/v$V/main" > /etc/apk/repositories
|
||||
echo "https://dl-cdn.alpinelinux.org/alpine/v$V/community" >> /etc/apk/repositories
|
||||
apk add --no-cache openssh-client
|
||||
- name: Setup SSH key
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.DEPLOY_KEY }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user