File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,23 +129,17 @@ jobs:
129129
130130 # Ensure the branch exists locally by checking remote references
131131 if git show-ref --verify --quiet refs/remotes/origin/${{ env.GH_BRANCH_NAME }}; then
132+ echo "Branch ${{ env.GH_BRANCH_NAME }} exists remotely."
132133 git checkout -B ${{ env.GH_BRANCH_NAME }} origin/${{ env.GH_BRANCH_NAME }}
133134 else
134135 echo "Branch ${{ env.GH_BRANCH_NAME }} does not exist remotely."
135136 exit 1
136137 fi
137138
138-
139- - name : Copy new files
140- run : |
141139 rsync -av --delete ./com.checkmarx.eclipse.site/target/repository/ ./update-site/
142- cd update-site
143140 git add .
144141 git commit -m "Update Eclipse update site for ${{ env.GH_RELEASE_TAG_NAME }}" || echo "No changes to commit"
145142
146- - name : Push update site changes
147- run : |
148- cd update-site
149143 git remote set-url origin https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/CheckmarxDev/ast-eclipse-plugin-update-site.git
150144 git push origin ${{ env.GH_BRANCH_NAME }}
151145
You can’t perform that action at this time.
0 commit comments