sdf
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
parent
1dfee93bb0
commit
35a01e6754
6
.github/workflows/push.yml
vendored
6
.github/workflows/push.yml
vendored
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user