From bde27d03295158f002055d76899742019d54342e Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Sat, 6 Jan 2024 14:01:21 +0100 Subject: [PATCH] Prepare for dev release --- .gitea/workflows/astro.yml | 4 ++-- src/layouts/MarkdownLayout.astro | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/astro.yml b/.gitea/workflows/astro.yml index 077d9bd..28db924 100644 --- a/.gitea/workflows/astro.yml +++ b/.gitea/workflows/astro.yml @@ -2,7 +2,7 @@ name: Deploy Astro on: push: branches: - - astro + - dev jobs: build-and-deploy: @@ -26,6 +26,6 @@ jobs: username: ${{ secrets.SSH_USERNAME }} key: ${{ secrets.SSH_KEY }} source: "dist/*" - target: /var/www/website/astro + target: /var/www/website/dev overwrite: true strip_components: 1 \ No newline at end of file diff --git a/src/layouts/MarkdownLayout.astro b/src/layouts/MarkdownLayout.astro index 7567e88..ee763b9 100644 --- a/src/layouts/MarkdownLayout.astro +++ b/src/layouts/MarkdownLayout.astro @@ -13,7 +13,7 @@ interface Props { } const { title, srcPath, published, moreLinks } = Astro.props; -const gitUrl = `https://git.c0ntroller.de/c0ntroller/frontpage/src/branch/astro/src/content/${srcPath}` +const gitUrl = `https://git.c0ntroller.de/c0ntroller/frontpage/src/branch/dev/src/content/${srcPath}` ---