Better filtering of build action

This commit is contained in:
Griatch 2020-09-19 17:24:21 +02:00
parent ae75166139
commit d52e483baf
3 changed files with 7 additions and 5 deletions

View file

@ -6,11 +6,11 @@ on:
push:
branches: [ master, develop ]
paths:
- 'docs/source/**'
- 'docs/**'
pull_request:
branches: [ master, develop ]
paths:
- 'docs/source/**'
- 'docs/**'
jobs:
build:
@ -53,6 +53,8 @@ jobs:
- name: Deploy docs (only from master/develop branch)
if: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master'}}
run: |
git config --global user.email "docbuilder@evennia.com"
git config --global user.name "Doc builder mechanism"
cd docs
make mv-local
echo "Would deploy here!"