Prepare for dev release
All checks were successful
Deploy Astro / Build and Deploy (push) Successful in 52s

This commit is contained in:
Daniel Kluge 2024-01-06 14:01:21 +01:00
parent 4e1c63ade5
commit bde27d0329
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ name: Deploy Astro
on: on:
push: push:
branches: branches:
- astro - dev
jobs: jobs:
build-and-deploy: build-and-deploy:
@ -26,6 +26,6 @@ jobs:
username: ${{ secrets.SSH_USERNAME }} username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }} key: ${{ secrets.SSH_KEY }}
source: "dist/*" source: "dist/*"
target: /var/www/website/astro target: /var/www/website/dev
overwrite: true overwrite: true
strip_components: 1 strip_components: 1

View File

@ -13,7 +13,7 @@ interface Props {
} }
const { title, srcPath, published, moreLinks } = Astro.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}`
--- ---
<Layout title={title} showAfterMain={Astro.slots.has("footer-nav")}> <Layout title={title} showAfterMain={Astro.slots.has("footer-nav")}>