Skip to content

Commit

Permalink
Fix Automated-Docs-Publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
haimlevy2006 committed Jul 4, 2024
1 parent 8bb8171 commit 720997f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/automated-publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
echo "Deploying $CURRENT_BRANCH which is not the latest version ( => $NEWEST_VERSION )..."
fi
install-dependencies:
install-dependencies-and-deploy:
name: install dependencies
needs: [env]
runs-on: ubuntu-latest
Expand All @@ -63,12 +63,7 @@ jobs:
git config user.name "circleci-runai"
git config user.email "[email protected]"
deploy:
name: deploy mkdocs
needs: [env, install-dependencies]
runs-on: ubuntu-latest
steps:
- name: deploy mkdocs latest
- name: deploy mkdocs
run: |
if [[ "${{ needs.env.outputs.CURRENT_BRANCH }}" == "${{ needs.env.outputs.NEWEST_VERSION }}" ]]; then
echo "Deploying ${{ needs.env.outputs.NEWEST_VERSION }} as latest..."
Expand All @@ -87,7 +82,7 @@ jobs:
slack-notification:
name: Slack Notification
needs: [env, install-dependencies, deploy]
needs: [env, install-dependencies-and-deploy]
if: always()
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 720997f

Please sign in to comment.