Skip to content

Commit

Permalink
Try to fix deploy documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
berndgassmann authored Feb 1, 2024
1 parent 693542e commit fc3e61e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ jobs:
bash .github/workflows/code_coverage.sh
- name: Documentation Deployment (Test)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if [ ${{ github.event_name }} != 'pull_request' ]; then bash .github/workflows/deploy_documentation.sh true; else bash .github/workflows/deploy_documentation.sh false; fi
1 change: 1 addition & 0 deletions .github/workflows/deploy_documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ git config user.name "Github Action"
git commit -m "Updated documentation" --no-edit

if [ "$1" = true ]; then
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/carla-simulator/map
git push origin doc
else
echo "Only testing mode - No deployment"
Expand Down

0 comments on commit fc3e61e

Please sign in to comment.