Skip to content

Commit

Permalink
make 'deploy_code_snippets' run again on releases
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonvt committed Mar 6, 2024
1 parent 71a27c1 commit bec31f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload --verbose dist/* || echo 'Version exists'

# TODO: Make this work again
# - name: Push code snippets to service-contracts
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: sh ./scripts/deploy_code_snippets.sh || echo 'PR failed. There is probably
# nothing to commit'
- name: Push code snippets to service-contracts
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 scripts/generate_code_snippets.py > python-sdk-examples.json
sh ./scripts/deploy_code_snippets.sh || echo 'PR failed. There is probably nothing to commit'

0 comments on commit bec31f1

Please sign in to comment.