From fe9599334f57600863cb26e941b900a79904a345 Mon Sep 17 00:00:00 2001 From: ChrQR Date: Sat, 11 May 2024 01:11:41 +0200 Subject: [PATCH] updated workflow --- .env.production | 1 - .gitea/workflows/pipeline.yaml | 11 ++++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) delete mode 100644 .env.production diff --git a/.env.production b/.env.production deleted file mode 100644 index 037e27c..0000000 --- a/.env.production +++ /dev/null @@ -1 +0,0 @@ -PLACES_API=AIzaSyBf1ip4XogdC6XmbfDhxS_RJDOSieycJpQ \ No newline at end of file diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 5d1c374..d1d1740 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -8,8 +8,16 @@ jobs: build: name: Build Docker runs-on: ubuntu-latest - steps: + - name: Make envfile + uses: SpicyPizza/create-envfile@v2.0 + with: + envkey_PLACES_API: ${{ secrets.PLACES_API }} + some_other_variable: foobar + directory: ./ + file_name: .env.production + fail_on_empty: false + sort_keys: false - name: Check out repository code 🛎️ uses: actions/checkout@v4 @@ -19,6 +27,7 @@ jobs: - name: Login to Docker Hub 🚢 uses: docker/login-action@v3 with: + registry: gitea.rannes.dev username: ${{ secrets.REGISTRY_USERNAME}} password: ${{ secrets.RANNES_REGISTRY}}