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}` ---