add variables to define:

- repo_url
- repo_name
- site_url
This commit is contained in:
mauwii 2023-02-19 04:28:07 +01:00
parent 8744dd0c46
commit f514f17e92
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB
2 changed files with 7 additions and 3 deletions

View File

@ -9,6 +9,10 @@ jobs:
mkdocs-material:
if: github.event.pull_request.draft == false
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:
- name: checkout sources
uses: actions/checkout@v3

View File

@ -2,13 +2,13 @@
# General
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
dev_addr: '127.0.0.1:8080'
# Repository
repo_name: 'invoke-ai/InvokeAI'
repo_url: 'https://github.com/invoke-ai/InvokeAI'
repo_name: !ENV [REPO_NAME, 'invoke-ai/InvokeAI']
repo_url: !ENV [REPO_URL, 'https://github.com/invoke-ai/InvokeAI']
edit_uri: blob/main/docs/
# Copyright