Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-05-17 15:45:53 +02:00
parent db74add82b
commit 51820b5794
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,4 @@
ASTRO_URL=http://localhost:3000
PAYLOAD_URL=http://localhost:3001 PAYLOAD_URL=http://localhost:3001
PAYLOAD_PORT=3001 PAYLOAD_PORT=3001
PAYLOAD_SECRET=supersecretkey PAYLOAD_SECRET=supersecretkey

View File

@ -15,9 +15,10 @@ jobs:
key: ${{ secrets.KEY }} key: ${{ secrets.KEY }}
script: | script: |
if [ -d ${{ secrets.PATH }} ]; then if [ -d ${{ secrets.PATH }} ]; then
echo "Directory exists" cd ${{ secrets.PATH }}
git pull
else else
mkdir ${{ secrets.PATH }} mkdir ${{ secrets.PATH }}
cd ${{ secrets.PATH }} cd ${{ secrets.PATH }}
git clone https://github.com/mooxl/astroad git clone -b prod https://github.com/mooxl/astroad .
fi fi