docs: fix deploy to LibreTime website

This commit is contained in:
Kyle Robbertze 2022-02-21 09:21:36 +02:00 committed by Jonas L
parent 3ec85d7821
commit a7e9549643
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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",

View File

@ -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",