754ea0f702
* web: bump style-mod from 4.0.3 to 4.1.0 in /web Bumps [style-mod](https://github.com/marijnh/style-mod) from 4.0.3 to 4.1.0. - [Commits](https://github.com/marijnh/style-mod/compare/4.0.3...4.1.0) --- updated-dependencies: - dependency-name: style-mod dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * run migrate Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
32 lines
758 B
YAML
32 lines
758 B
YAML
name: authentik-publish-source-docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
POSTGRES_DB: authentik
|
|
POSTGRES_USER: authentik
|
|
POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77"
|
|
|
|
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 make migrate
|
|
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 }}
|