fix(docs): fixed images breaking on branch docs
Some checks failed
Build Documentation and Lint Code / build and lint (pull_request) Failing after 25s
Some checks failed
Build Documentation and Lint Code / build and lint (pull_request) Failing after 25s
This commit is contained in:
parent
5a01a3b4b9
commit
f3022a980e
2 changed files with 7 additions and 5 deletions
|
@ -18,13 +18,15 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: poetry install --with docs --with dev --no-root
|
run: poetry install --with docs --with dev --no-root
|
||||||
|
|
||||||
- name: Build the documentation
|
|
||||||
run: mkdocs build
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Set Environment Variables
|
- name: Set Environment Variables
|
||||||
uses: actions/env@v2
|
uses: actions/env@v2
|
||||||
|
|
||||||
|
- name: Build the documentation
|
||||||
|
run: |
|
||||||
|
export SITE_URL="https://$CI_ACTION_REF_NAME_SLUG.seacogs.coastalcommits.com"
|
||||||
|
mkdocs build -v
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Deploy the documentation to Meli (CoastalCommits Pages)
|
- name: Deploy the documentation to Meli (CoastalCommits Pages)
|
||||||
run: |
|
run: |
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
site_name: SeaCogs Documentation
|
site_name: SeaCogs Documentation
|
||||||
site_url: https://seacogs.coastalcommits.com
|
site_url: !ENV [SITE_NAME, 'https://seacogs.coastalcommits.com']
|
||||||
repo_name: CoastalCommits
|
repo_name: CoastalCommits
|
||||||
repo_url: https://coastalcommits.com/SeaswimmerTheFsh/SeaCogs
|
repo_url: https://coastalcommits.com/SeaswimmerTheFsh/SeaCogs
|
||||||
edit_uri: src/branch/main/.docs
|
edit_uri: src/branch/main/.docs
|
||||||
|
|
Loading…
Reference in a new issue