update action.yaml branches to master not main
This commit is contained in:
@@ -4,13 +4,13 @@ on:
|
||||
tags:
|
||||
- '*'
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- deploy
|
||||
- 'feature/**'
|
||||
- gitea-pages
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- deploy
|
||||
pull_request_target:
|
||||
types: [closed]
|
||||
@@ -80,9 +80,9 @@ jobs:
|
||||
- name: Build Sphinx HTML
|
||||
working-directory: docs
|
||||
run: |
|
||||
# ensure on main
|
||||
git fetch origin main:main || true
|
||||
git checkout main || true
|
||||
# ensure on master
|
||||
git fetch origin master:master || true
|
||||
git checkout master || true
|
||||
|
||||
# create venv one level up and activate it
|
||||
python3 -m venv ../venv
|
||||
|
||||
Reference in New Issue
Block a user