From 51820b5794634da630f1850d6309f1557affdce6 Mon Sep 17 00:00:00 2001 From: Max Schmidt Date: Wed, 17 May 2023 15:45:53 +0200 Subject: [PATCH] test Signed-off-by: Max Schmidt --- .env.dev | 1 + .github/workflows/payload.yml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.dev b/.env.dev index 865ffee..42f09c2 100644 --- a/.env.dev +++ b/.env.dev @@ -1,3 +1,4 @@ +ASTRO_URL=http://localhost:3000 PAYLOAD_URL=http://localhost:3001 PAYLOAD_PORT=3001 PAYLOAD_SECRET=supersecretkey diff --git a/.github/workflows/payload.yml b/.github/workflows/payload.yml index 64d2fbc..1848a93 100644 --- a/.github/workflows/payload.yml +++ b/.github/workflows/payload.yml @@ -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