forgejo: build but do not deploy on branch
All checks were successful
/ build (push) Successful in 48s

This commit is contained in:
gloriousbreak 2025-05-26 02:40:47 -04:00
parent a6fe22b283
commit 564ad9fd41
Signed by: gloriousbreak
GPG key ID: 690D1CF8558DC313

View file

@ -1,7 +1,5 @@
on:
push:
branches:
- main
push
jobs:
build:
@ -18,6 +16,7 @@ jobs:
- name: Build site
run: jekyll build --future --config _config.yml
- name: Deploy site
if: github.ref == 'refs/heads/main'
run: |
echo "${{ secrets.SERVER_SSH_KEY }}" >> /tmp/id_ecdsa
chmod 600 /tmp/id_ecdsa