Compare commits

...

2 Commits

Author SHA1 Message Date
ad1c360aed Merge pull request 'feat: auto update script' (#3) from dev into main
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 24s
Deploy on merge to main / deploy (push) Failing after 32s
Reviewed-on: #3
2025-09-15 16:59:07 +02:00
49225a3e0c feat: auto update script
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 38s
2025-09-15 16:58:17 +02:00

View File

@ -0,0 +1,22 @@
name: Deploy on merge to main
on:
push:
branches:
- main
jobs:
deploy:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run command on remote server
uses: appleboy/ssh-action@v0.1.10
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
pull_site