From a7e954964354e1e0a9a95dea5f1f212a20a35ad0 Mon Sep 17 00:00:00 2001 From: Kyle Robbertze Date: Mon, 21 Feb 2022 09:21:36 +0200 Subject: [PATCH] docs: fix deploy to LibreTime website --- .github/workflows/website.yml | 4 ++-- website/docusaurus.config.js | 2 +- website/vars.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 7c83beef7..1fdf7a63e 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -2,7 +2,7 @@ name: Website on: push: - branches: [main, docs_update] + branches: [main] paths: - .github/workflows/website.yml - website/** @@ -60,7 +60,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/docs_update' }} + if: ${{ github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./website/build diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 87d99f7be..608e5e003 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -8,7 +8,7 @@ const config = { title: vars.title, tagline: vars.description, url: vars.website, - baseUrl: "/libretime/", + baseUrl: "/", onBrokenLinks: "throw", onBrokenMarkdownLinks: "throw", favicon: "img/icon.svg", diff --git a/website/vars.js b/website/vars.js index 0b46b7baa..c1401a8d1 100644 --- a/website/vars.js +++ b/website/vars.js @@ -2,7 +2,7 @@ module.exports = { title: "LibreTime", description: "Radio Broadcast & Automation Platform", version: "3.0.0-alpha.10", - website: "https://jooola.github.io", + website: "https://libretime.org", repository: { href: "https://github.com/libretime/libretime",