File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,11 @@ jobs:
35
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
36
run : |
37
37
git remote rm origin
38
- git remote add origin "https://${GITHUB_TOKEN}@github.com/numpy/numpy-financial.git"
38
+ # git remote add origin "https://${GITHUB_TOKEN}@github.com/numpy/numpy-financial.git"
39
39
git config user.email "github.workflow@nomail"
40
40
git config user.name "Github Workflow: publish_docs_to_pages.yml"
41
- #git remote -v
42
- #git config -l
43
41
echo "Fetching gh-pages"
44
- git fetch origin gh-pages
42
+ git fetch "https://${GITHUB_TOKEN}:[email protected] /numpy/numpy-financial.git" gh-pages
45
43
echo "Checking out gh-pages branch"
46
44
git checkout gh-pages
47
45
echo "Removing old documentation"
56
54
git add -A
57
55
git commit -m "Add new documentation"
58
56
echo "Pushing new documentation to origin"
59
- git push -v origin gh-pages
57
+ git push -v "https://${GITHUB_TOKEN}:[email protected] /numpy/numpy-financial.git" gh-pages
You can’t perform that action at this time.
0 commit comments