sid.ovh/.forgejo/workflows/deploy-configs.yml
sid 7d364cdfac
Some checks failed
Deploy configs / deploy-configs (push) Failing after 11s
initial commit
2026-02-23 20:53:29 +01:00

28 lines
552 B
YAML

name: Deploy configs
on:
push:
branches:
- master
jobs:
deploy-configs:
runs-on: runner
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up SSH
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
run: |
echo "$DEPLOY_KEY" > ssh_deploy_key
chmod 600 ssh_deploy_key
cat <<EOF > ssh_config
Host *
IdentityFile $(pwd)/ssh_deploy_key
EOF
- name: Deploy configs
run: deploy . --skip-checks