website/.forgejo/workflows/deploy.yaml
toufic ar 51e31289ea
All checks were successful
/ deploy (push) Successful in 7s
add aur subdomain + new fontawesome
2026-02-10 23:01:48 +02:00

21 lines
497 B
YAML

on:
push:
branches:
- main
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 . --delete root@toufy.me:/var/www/toufy.me