Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-05-17 18:21:45 +02:00
parent 1dfee93bb0
commit 35a01e6754
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ name: Clone or pull repository
on:
push:
branches:
- prod
- main
jobs:
build:
name: Run remote SSH command
@ -21,7 +21,7 @@ jobs:
else
mkdir ${{ secrets.PATH }}
cd ${{ secrets.PATH }}
git clone -b prod https://github.com/${{ github.repository }} .
git clone https://github.com/${{ github.repository }} .
sed -i "s/ASTRO_URL=.*/ASTRO_URL=${{ vars.ASTRO_URL }}/" .env
sed -i "s/PAYLOAD_URL=.*/PAYLOAD_URL=${{ vars.PAYLOAD_URL }}/" .env
sed -i "s/PAYLOAD_PORT=.*/PAYLOAD_PORT=${{ secrets.PAYLOAD_PORT }}/" .env
@ -33,5 +33,5 @@ jobs:
cp .env ./astro/.env
fi
yarn prod payload
sleep 30
sleep 10
yarn prod astro

View File

@ -10,7 +10,7 @@ const { title } = Astro.props;
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
</head>