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