mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add variables to define:
- repo_url - repo_name - site_url
This commit is contained in:
parent
8744dd0c46
commit
f514f17e92
4
.github/workflows/mkdocs-material.yml
vendored
4
.github/workflows/mkdocs-material.yml
vendored
@ -9,6 +9,10 @@ jobs:
|
|||||||
mkdocs-material:
|
mkdocs-material:
|
||||||
if: github.event.pull_request.draft == false
|
if: github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
REPO_URL: '${{ github.server_url }}/${{ github.repository }}'
|
||||||
|
REPO_NAME: '${{ github.repository }}'
|
||||||
|
SITE_URL: 'https://${{ github.repository_owner }}.github.io/InvokeAI'
|
||||||
steps:
|
steps:
|
||||||
- name: checkout sources
|
- name: checkout sources
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
# General
|
# General
|
||||||
site_name: InvokeAI Stable Diffusion Toolkit Docs
|
site_name: InvokeAI Stable Diffusion Toolkit Docs
|
||||||
site_url: https://invoke-ai.github.io/InvokeAI
|
site_url: !ENV [SITE_URL, 'https://invoke-ai.github.io/InvokeAI']
|
||||||
site_author: mauwii
|
site_author: mauwii
|
||||||
dev_addr: '127.0.0.1:8080'
|
dev_addr: '127.0.0.1:8080'
|
||||||
|
|
||||||
# Repository
|
# Repository
|
||||||
repo_name: 'invoke-ai/InvokeAI'
|
repo_name: !ENV [REPO_NAME, 'invoke-ai/InvokeAI']
|
||||||
repo_url: 'https://github.com/invoke-ai/InvokeAI'
|
repo_url: !ENV [REPO_URL, 'https://github.com/invoke-ai/InvokeAI']
|
||||||
edit_uri: blob/main/docs/
|
edit_uri: blob/main/docs/
|
||||||
|
|
||||||
# Copyright
|
# Copyright
|
||||||
|
Loading…
Reference in New Issue
Block a user