Skip to content

Commit

Permalink
ci: disable publish-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ccharly committed Aug 29, 2024
1 parent f5d8048 commit 9e260cb
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,24 +98,24 @@ jobs:
shell: bash
run: ./scripts/get.sh ".version" "RELEASE_VERSION"

publish-release-to-gh-pages:
needs: get-release-version
name: Publish docs to `${{ needs.get-release-version.outputs.RELEASE_VERSION }}` directory of `gh-pages` branch
permissions:
contents: write
uses: ./.github/workflows/publish-docs.yml
with:
destination_dir: ${{ needs.get-release-version.outputs.RELEASE_VERSION }}
secrets:
PUBLISH_DOCS_TOKEN: ${{ secrets.PUBLISH_DOCS_TOKEN }}
#publish-release-to-gh-pages:
# needs: get-release-version
# name: Publish docs to `${{ needs.get-release-version.outputs.RELEASE_VERSION }}` directory of `gh-pages` branch
# permissions:
# contents: write
# uses: ./.github/workflows/publish-docs.yml
# with:
# destination_dir: ${{ needs.get-release-version.outputs.RELEASE_VERSION }}
# secrets:
# PUBLISH_DOCS_TOKEN: ${{ secrets.PUBLISH_DOCS_TOKEN }}

publish-release-to-latest-gh-pages:
needs: publish-npm
name: Publish docs to `latest` directory of `gh-pages` branch
permissions:
contents: write
uses: ./.github/workflows/publish-docs.yml
with:
destination_dir: latest
secrets:
PUBLISH_DOCS_TOKEN: ${{ secrets.PUBLISH_DOCS_TOKEN }}
#publish-release-to-latest-gh-pages:
# needs: publish-npm
# name: Publish docs to `latest` directory of `gh-pages` branch
# permissions:
# contents: write
# uses: ./.github/workflows/publish-docs.yml
# with:
# destination_dir: latest
# secrets:
# PUBLISH_DOCS_TOKEN: ${{ secrets.PUBLISH_DOCS_TOKEN }}

0 comments on commit 9e260cb

Please sign in to comment.