@@ -0,0 +1,18 @@
|
|||||||
|
name: Deploy beszel
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
paths:
|
||||||
|
- 'docker/beszel/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Deploy via SSH
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/deploy_key
|
||||||
|
chmod 600 ~/.ssh/deploy_key
|
||||||
|
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@${{ vars.DEPLOY_HOST }} deploy-beszel
|
||||||
@@ -1,2 +1,5 @@
|
|||||||
|
# !create
|
||||||
beszel_data/
|
beszel_data/
|
||||||
|
# !create
|
||||||
beszel_socket/
|
beszel_socket/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user