Skip to content

Commit 6d61551

Browse files
CI: Tweak doc build.
1 parent 63ffe72 commit 6d61551

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/publish_docs_to_pages.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ jobs:
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
run: |
37-
git clone [email protected]:numpy/numpy-financial.git
38-
cd numpy-financial
39-
git remote -v
40-
git config -l
37+
git remote rm origin
38+
git remote add origin "https://${GITHUB_TOKEN}@github.com/numpy/numpy-financial.git"
39+
#git config user.email "github.workflow@nomail"
40+
#git config user.name "Github Workflow: publish_docs_to_pages.yml"
41+
#git remote -v
42+
#git config -l
4143
echo "Fetching gh-pages"
4244
git fetch origin gh-pages
4345
echo "Checking out gh-pages branch"
@@ -53,5 +55,5 @@ jobs:
5355
echo "Adding new documentation"
5456
git add -A
5557
git commit -m "Add new documentation"
56-
echo "Pushing new documentation to origin"
57-
git push -v origin gh-pages
58+
#echo "Pushing new documentation to origin"
59+
#git push -v origin gh-pages

0 commit comments

Comments
 (0)