Initial Commit
Some checks failed
Deploy Sokko G / deploy (push) Failing after 3s

This commit is contained in:
Shinuwa 2026-07-20 23:10:37 +02:00
parent fbfc3430a0
commit 1e1ede6cf0
207 changed files with 12220 additions and 0 deletions

View file

@ -0,0 +1,28 @@
name: Deploy Sokko G
on:
push:
branches:
- main
jobs:
deploy:
runs-on: docker
steps:
- name: Deploy on WebApps
env:
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
run: |
apt-get update
apt-get install -y openssh-client
mkdir -p ~/.ssh
printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh -o StrictHostKeyChecking=no \
-i ~/.ssh/id_ed25519 \
-p 2911 \
shinuwa@192.168.0.100 \
"sudo /usr/local/bin/deploy-sokko-g"