Skip to content

Commit

Permalink
Avoid failures due to missing permissions to upload docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Jan 3, 2025
1 parent 06ca17f commit 3031301
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,3 @@ jobs:
extension_name: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_NAME }}
repository: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_GITHUB }}
ref: ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_REF }}

docs_all:
if: ${{ (github.head_ref || github.ref_name) == 'main' }}
needs:
- deploy
uses: ./.github/workflows/generate_docs.yml
1 change: 1 addition & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
cp build/docs/extensions_list.md.tmp web/_includes/list_of_community_extensions.md
- name: Upload to duckdb/duckdb-web
if: github.repository != 'duckdb/duckdb-web'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 3031301

Please sign in to comment.