This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-07-31 09:59:20 +00:00
|
|
|
name: authentik-publish-source-docs
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
2023-08-22 12:19:37 +00:00
|
|
|
env:
|
|
|
|
POSTGRES_DB: authentik
|
|
|
|
POSTGRES_USER: authentik
|
|
|
|
POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77"
|
|
|
|
|
2023-07-31 09:59:20 +00:00
|
|
|
jobs:
|
|
|
|
publish-source-docs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 120
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup authentik env
|
|
|
|
uses: ./.github/actions/setup
|
|
|
|
- name: generate docs
|
|
|
|
run: |
|
|
|
|
poetry run ak build_source_docs
|
|
|
|
- name: Publish
|
|
|
|
uses: netlify/actions/cli@master
|
|
|
|
with:
|
|
|
|
args: deploy --dir=source_docs --prod
|
|
|
|
env:
|
|
|
|
NETLIFY_SITE_ID: eb246b7b-1d83-4f69-89f7-01a936b4ca59
|
|
|
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|