ayakael.net/.forgejo/workflows/push.yaml
IkiWiki 30927d337d
Some checks failed
/ deploy (push) Failing after 19s
Revert "forgejo-ci attempt different actions url"
This reverts commit 479df83c8d.
2024-08-25 19:19:16 -04:00

22 lines
543 B
YAML

on: [push]
jobs:
deploy:
runs-on: x86_64
container: alpine:latest
steps:
- name: Environment setup
run: |
apk add git nodejs ssh-agent
- uses: https://github.com/webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.PAGES_PRIVKEY }}
- 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