From 35a01e67544f5e065d16b135c70d78611a1f26d5 Mon Sep 17 00:00:00 2001 From: Max Schmidt Date: Wed, 17 May 2023 18:21:45 +0200 Subject: [PATCH] sdf Signed-off-by: Max Schmidt --- .github/workflows/push.yml | 6 +++--- astro/src/layouts/Layout.astro | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c5e8dda..dc06bc7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 diff --git a/astro/src/layouts/Layout.astro b/astro/src/layouts/Layout.astro index 10c6be3..bc17d78 100644 --- a/astro/src/layouts/Layout.astro +++ b/astro/src/layouts/Layout.astro @@ -10,7 +10,7 @@ const { title } = Astro.props; - + {title}