File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ name: Documentation Build
44on :
55 push :
66 branches-ignore :
7- # Push events to branches matching refs/heads/mona/octocat
87 - ' gh-pages'
98 pull_request :
109
@@ -72,17 +71,16 @@ jobs:
7271 run : |
7372 git clone --no-checkout --depth 1 https://[email protected] /pyansys/pymapdl.git /tmp/gh_pages 7473 cd /tmp/gh_pages
75- git checkout --orphan $GH_BRANCH
74+ git checkout --orphan gh-pages
7675 rm -rf *
7776 git config user.name $GH_USERNAME
7877 git config user.email $GH_EMAIL
7978 cp -r $GITHUB_WORKSPACE/docs/build/html/* .
8079 touch .nojekyll
8180 git add .
8281 git commit -am "CI: Updated site via $GITHUB_SHA"
83- git push -u origin $GH_BRANCH -f
82+ git push -u origin gh-pages -f
8483 env :
8584 GH_USERNAME : ${{ secrets.GH_USERNAME }}
8685 GH_PAT : ${{ secrets.REPO_DOWNLOAD_PAT }}
8786 GH_EMAIL : ${{ secrets.GH_EMAIL }}
88- GH_BRANCH : gh_pages
You can’t perform that action at this time.
0 commit comments