-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,10 @@ name: Deploy Sphinx documentation | |
on: | ||
push: | ||
branches: | ||
- main | ||
- feat/sphinx | ||
pull_request: | ||
branches: | ||
- main | ||
- feat/sphinx | ||
workflow_dispatch: | ||
|
||
permissions: | ||
|
@@ -26,7 +26,7 @@ jobs: | |
- name: Sphinx exist and make | ||
if: ${{ hashFiles('docs/conf.py') == '' && hashFiles('docs/index.rst') == '' && hashFiles('docs/Makefile') == '' && hashFiles('docs/make.bat') == ''}} | ||
run: | | ||
git clone ${{ github.server_url }}/${{ github.repository }}.git --branch main --single-branch main | ||
git clone ${{ github.server_url }}/${{ github.repository }}.git --branch feat/sphinx --single-branch feat/sphinx | ||
git clone [email protected]:vortexntnu/vortex-ci.git --branch sphinx/docs-template --single-branch sphinx/docs-template | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Action" | ||
|
@@ -37,7 +37,7 @@ jobs: | |
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
branch: auto | ||
branch: feat/sphinx | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
|