Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-05-17 15:46:30 +02:00 committed by GitHub
parent db74add82b
commit 21fe4ff02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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_PORT=3001
PAYLOAD_SECRET=supersecretkey

View File

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