docs: fix deploy to LibreTime website
This commit is contained in:
parent
3ec85d7821
commit
a7e9549643
|
@ -2,7 +2,7 @@ name: Website
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, docs_update]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/website.yml
|
- .github/workflows/website.yml
|
||||||
- website/**
|
- website/**
|
||||||
|
@ -60,7 +60,7 @@ jobs:
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
if: ${{ github.ref == 'refs/heads/docs_update' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./website/build
|
publish_dir: ./website/build
|
||||||
|
|
|
@ -8,7 +8,7 @@ const config = {
|
||||||
title: vars.title,
|
title: vars.title,
|
||||||
tagline: vars.description,
|
tagline: vars.description,
|
||||||
url: vars.website,
|
url: vars.website,
|
||||||
baseUrl: "/libretime/",
|
baseUrl: "/",
|
||||||
onBrokenLinks: "throw",
|
onBrokenLinks: "throw",
|
||||||
onBrokenMarkdownLinks: "throw",
|
onBrokenMarkdownLinks: "throw",
|
||||||
favicon: "img/icon.svg",
|
favicon: "img/icon.svg",
|
||||||
|
|
|
@ -2,7 +2,7 @@ module.exports = {
|
||||||
title: "LibreTime",
|
title: "LibreTime",
|
||||||
description: "Radio Broadcast & Automation Platform",
|
description: "Radio Broadcast & Automation Platform",
|
||||||
version: "3.0.0-alpha.10",
|
version: "3.0.0-alpha.10",
|
||||||
website: "https://jooola.github.io",
|
website: "https://libretime.org",
|
||||||
|
|
||||||
repository: {
|
repository: {
|
||||||
href: "https://github.com/libretime/libretime",
|
href: "https://github.com/libretime/libretime",
|
||||||
|
|
Loading…
Reference in New Issue