mirror of
https://github.com/goauthentik/authentik.git
synced 2026-08-30 18:51:39 -07:00
ci: fix source-docs publish (#24405)
This commit is contained in:
13
.github/workflows/ci-docs-source.yml
vendored
13
.github/workflows/ci-docs-source.yml
vendored
@@ -23,8 +23,15 @@ jobs:
|
||||
run: |
|
||||
uv run make migrate
|
||||
uv run ak build_source_docs
|
||||
- name: Publish
|
||||
- uses: nwtgck/actions-netlify@d22a32a27c918fe470bbc562e984f80ec48c2668 # v4.0.0
|
||||
id: netlify
|
||||
with:
|
||||
publish-dir: "./source_docs"
|
||||
production-deploy: true
|
||||
enable-commit-comment: false
|
||||
enable-pull-request-comment: false
|
||||
enable-commit-status: false
|
||||
enable-github-deployment: false
|
||||
env:
|
||||
NETLIFY_SITE_ID: eb246b7b-1d83-4f69-89f7-01a936b4ca59
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
run: pnpm dlx netlify-cli deploy --dir=source_docs --prod
|
||||
NETLIFY_SITE_ID: eb246b7b-1d83-4f69-89f7-01a936b4ca59
|
||||
|
||||
2
.github/workflows/ci-main.yml
vendored
2
.github/workflows/ci-main.yml
vendored
@@ -512,7 +512,7 @@ jobs:
|
||||
subject-digest: "${{ steps.publish.outputs.digest }}"
|
||||
push-to-registry: true
|
||||
pr-comment:
|
||||
if: "${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}"
|
||||
if: "${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}"
|
||||
needs:
|
||||
- build-compute-tags
|
||||
- publish
|
||||
|
||||
Reference in New Issue
Block a user