From 739956925b1bde44e0feb3e436b06607e87839d5 Mon Sep 17 00:00:00 2001 From: weaponsforge Date: Fri, 1 Nov 2024 15:19:44 +0800 Subject: [PATCH] fix: create temp .env file on docker pull --- .github/workflows/pull-images.yml | 5 +++++ README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-images.yml b/.github/workflows/pull-images.yml index 3b009a4..20390ed 100644 --- a/.github/workflows/pull-images.yml +++ b/.github/workflows/pull-images.yml @@ -22,5 +22,10 @@ jobs: git checkout $LATEST_TAG echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV + - name: Create env variables + run: | + cp client/.env.example client/.env + cp server/.env.example server/.env + - name: Pull Development Image run: docker compose -f docker-compose.dev.yml pull diff --git a/README.md b/README.md index 571b9e1..895d842 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ password: useruser - [Online App Demo](#online-app-demo) - [Using with Google Sites](#using-with-google-sites) - [A. Embed a File Card](#a-embed-a-file-card) - - [Embed a Full Page Containing a Group of File Cards](#b-embed-a-full-page-containing-a-group-of-file-cards) + - [B. Embed a Full Page Containing a Group of File Cards](#b-embed-a-full-page-containing-a-group-of-file-cards) - [Requirements](#requirements) - [Installation](#installation) - [Run with Docker](#run-with-docker)