ayakael.net/.forgejo/workflows/push.yaml

22 lines
523 B
YAML
Raw Normal View History

2024-08-25 19:11:29 -04:00
on: [push]
jobs:
deploy:
runs-on: x86_64
container: alpine:latest
steps:
- name: Environment setup
run: apk add git nodejs ssh-agent
- uses: github.com/webfactory/ssh-agent@v0.9.0
with:
2024-08-25 19:18:43 -04:00
ssh-private-key: ${{ secrets.PAGES_PRIVKEY }}
2024-08-25 19:11:29 -04:00
- name: Repo pull
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Website upload
run: |
git remote set-url pages@ayakael.net:/var/lib/pages/ayakael.net
git push -f