Запускать теплой только для главной ветки
All checks were successful
Build and deploy mmote.ru / Build-And-Deploy (push) Successful in 33s

This commit is contained in:
MultiMote 2024-07-28 19:54:04 +03:00
parent 8e187d5e0b
commit 067f918a47

View File

@ -1,13 +1,12 @@
name: Build and deploy mmote.ru name: Build and deploy mmote.ru
on: [push] on:
push:
branches:
- 'master'
jobs: jobs:
Build-And-Deploy: Build-And-Deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: test
if: gitea.ref == 'refs/heads/master'
steps: steps:
- name: Setup Hugo - name: Setup Hugo
uses: peaceiris/actions-hugo@v3 uses: peaceiris/actions-hugo@v3