File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 7070
7171 - name : Fetch and checkout the specific commit
7272 run : |
73- git init processing4
73+ git clone ${{ env.REMOTE_URL }} processing4
7474 cd processing4
75- git remote add origin ${{ env.REMOTE_URL }}
76- git fetch --depth 1 origin ${{ env.commit_sha }}
7775 git checkout ${{ env.commit_sha }}
7876
7977 - name : Generate Javadocs
9997 - name : Checkout gh-pages branch
10098 uses : actions/checkout@v3
10199 with :
100+ repository : processing/processing4-javadocs
102101 ref : gh-pages
102+ fetch-depth : 0
103103
104104 - name : Commit and Push changes to gh-pages if any changes exist
105105 run : |
@@ -108,7 +108,7 @@ jobs:
108108 if [ -n "$(git status --porcelain docs/)" ]; then
109109 git add docs/
110110 git commit -m "Update Javadocs"
111- git push https://$PAT_TOKEN@github.com/SableRaf/ processing-javadoc-test .git HEAD:gh-pages
111+ git push https://$PAT_TOKEN@github.com/processing/processing4-javadocs .git HEAD:gh-pages
112112 else
113113 echo "No changes to commit."
114114 fi
You can’t perform that action at this time.
0 commit comments