fix: only run upload task on main branch

This commit is contained in:
TheClashFruit 2024-05-10 18:05:02 +02:00 committed by Forgejo
parent 9c7ab20085
commit 2a62ac00b2
Signed by untrusted user who does not match committer: Forgejo
GPG key ID: E59A305B48F15D31

View file

@ -1,6 +1,9 @@
name: Upload Website
name: Upload Website
on: [ push ]
on:
push:
branches:
- main
jobs:
sftp: