yamatotoma.to/.forgejo/workflows/build.yaml
tomato 0c250b77c6
Some checks failed
/ build (push) Failing after 34s
deploy?
2025-05-25 23:05:41 -04:00

22 lines
596 B
YAML

on:
push:
branches:
- citest
jobs:
build:
runs-on: docker
container:
image: ruby:3.3
steps:
- name: Install node
run: apt update && apt install nodejs -y
- uses: https://code.forgejo.org/actions/checkout@v4
- name: Install dependencies
run: bundle install
- name: Build site
run: jekyll build --future --config _config.yml
- name: Deploy site
run: |
rsync -e "ssh -oStrictHostKeyChecking=no -i <(echo ${{ secrets.SERVER_SSH_KEY }})" -avz --delete _site/ deploy@${{ secrets.SERVER_NAME }}:/