ayakael.net/.forgejo/workflows/push.yaml
IkiWiki 7872199ca1
Some checks failed
/ deploy (push) Failing after 26s
forgejo-ci: add missing ssh depend
2024-08-25 19:25:08 -04:00

23 lines
615 B
YAML

on: [push]
jobs:
deploy:
runs-on: x86_64
container: alpine:latest
steps:
- name: Environment setup
run: |
apk add git nodejs openssh-client-common openssh-client-default
- name: Start 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 origin pages@ayakael.net:/var/lib/pages/ayakael.net
git push -f