From 2b7e8a4e4d7cf7c7d1b29864561a4ccfd4769d5b Mon Sep 17 00:00:00 2001 From: ciatph Date: Tue, 28 Jun 2022 06:45:36 +0800 Subject: [PATCH] fix: Remove find, fix find error. --- .github/workflows/release.yml | 2 +- server/.gitignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d81f917..367760a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,7 +117,7 @@ jobs: cp client/.env.example client/.env cp server/.env.example server/.env - name: Set release version number - run: find "docker-compose.prod.yml" -type f exec sed -i "s/latest/${{ github.event.release.tag_name }}/g" {} \; + run: sed -i -e "s/latest/${{ github.event.release.tag_name }}/g" docker-compose.prod.yml - name: Build Images run: docker-compose -f docker-compose.prod.yml build - name: Push Images to Docker Hub diff --git a/server/.gitignore b/server/.gitignore index 3d82e20..56e10d8 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -1,4 +1,5 @@ node_modules/ +public/docs/ .env .env.dev .env.prod