initial commit
All checks were successful
/ deploy (push) Successful in 6s

This commit is contained in:
toufic ar 2026-02-10 18:41:17 +02:00
commit 78f48dc332
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k
4 changed files with 146 additions and 0 deletions

View file

@ -0,0 +1,24 @@
on:
workflow_dispatch:
push:
branches:
- home
schedule:
- cron: 0 0 * * 0
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v6
- name: install rsync
run: |
apt update
apt install rsync -y
- name: add ssh key
uses: actions/ssh-setup@v1
with:
ssh-key: ${{ secrets.ACTIONS_SSH_KEY }}
add-hosts: "toufy.me"
- name: sync repo
run: rsync -az . root@toufy.me:/var/www/aur.toufy.me