Compare commits

...
2 Commits
Author SHA1 Message Date
aibrash d4dfd6574f Merge branch 'main' of https://git.ibrash.duckdns.org/aibrash/My-world-Site
Deploy Static Site / deploy (push) Successful in 8s
2026-10-12 12:24:23 +05:00
aibrash c8f7e44903 Добавил типо CI/CD 2026-10-12 12:22:31 +05:00
+19
View File
@@ -0,0 +1,19 @@
name: Deploy Static Site
on:
push:
branches: [ "main" ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Pull latest changes via SSH
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd /opt/grid-world/
git pull origin main
echo all good