Skip to content

Commit 9413884

Browse files
Update site with all files (AST-000)
1 parent ca41782 commit 9413884

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)