Запускать деплой только для главной ветки
All checks were successful
Build and deploy mmote.ru / Build-And-Deploy (push) Successful in 36s
All checks were successful
Build and deploy mmote.ru / Build-And-Deploy (push) Successful in 36s
This commit is contained in:
parent
8e187d5e0b
commit
23858b6d16
@ -1,13 +1,12 @@
|
||||
name: Build and deploy mmote.ru
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
jobs:
|
||||
Build-And-Deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: test
|
||||
if: gitea.ref == 'refs/heads/master'
|
||||
|
||||
steps:
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
|
Loading…
Reference in New Issue
Block a user