Skip to content

Commit

Permalink
Update update_overview.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mprinkezs authored Jul 15, 2024
1 parent 660475d commit d0b6b6a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/update_overview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
python .github/scripts/gen_overview.py --sphinx-doc > examples_overview.md
gh repo clone ZeissIQS/zeiss-inspect-addon-api
cd zeiss-inspect-addon-api
#git checkout -b overview-update || git checkout overview-update
git checkout -b overview-update --track origin/main
cp ../examples_overview.md doc/python_examples/examples_overview.md
if [ -z "$(git status --porcelain)" ]; then
Expand All @@ -103,20 +102,13 @@ jobs:
if: env.changes == 'true'
run: |
cd zeiss-inspect-addon-api
#git config --local user.email "action@github.com"
#git config --local user.name "GitHub Action"
git add doc/python_examples/examples_overview.md
git commit -m "Updated doc/python_examples/examples_overview.md"
#git remote add target https://x-access-token:${{ secrets.TARGET_REPO_PAT_2 }}@github.com/ZeissIQS/zeiss-inspect-addon-api.git
#git remote add origin https://x-access-token:${{ secrets.TARGET_REPO_PAT_2 }}@/ZeissIQS/zeiss-inspect-addon-api.git
#git remote add origin 'git@github.com:ZeissIQS/zeiss-inspect-addon-api.git'
git remote set-url origin https://x-access-token:${{ secrets.TARGET_REPO_PAT_2 }}@github.com/ZeissIQS/zeiss-inspect-addon-api.git
git push origin +overview-update:overview-update
# Note: Pull Request in ZeissIQS project is created by a separate workflow in ZeissIQS due to permission issues
#- name: Create Pull Request (ZeissIQS)
# env:
# permissions:
# org:read
# if: env.changes == 'true'
# run: |
# echo "${{ secrets.TARGET_REPO_PAT_2 }}" | gh auth login --with-token
Expand Down

0 comments on commit d0b6b6a

Please sign in to comment.