ayakael.net/.forgejo/workflows/push.yaml
IkiWiki 8290054feb
Some checks failed
/ deploy (push) Failing after 19s
forgejo-ci: add deploy script
2024-08-25 19:11:29 -04:00

21 lines
492 B
YAML

on: [push]
jobs:
deploy:
runs-on: x86_64
container: alpine:latest
steps:
- name: Environment setup
run: |
apk add git nodejs
mkdir -p ~/.ssh
echo ${{ secrets.PAGES_PRIVKEY }} > ~.ssh/id_ed25519
- 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