21 lines
492 B
YAML
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
|
|
|