ci: workflow деплоя dedinit.ru через SFTP при пуше в main (Gitea Actions)

This commit is contained in:
2026-09-19 18:51:08 +00:00
parent f714b9180b
commit 39f29cc897
5 changed files with 259 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
name: deploy-dedinit
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
name: Build & SFTP Deploy
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update -qq
apt-get install -y -qq make python3 python3-venv python3-pip hugo
- name: Deploy via SFTP
env:
SSHPASS: ${{ secrets.SSHPASS }}
run: |
make deploy