From e9a3220b22889386f06f47db6a96966f0d606ae8 Mon Sep 17 00:00:00 2001 From: Yossi Eynav Date: Sat, 10 Feb 2024 21:20:38 +0200 Subject: [PATCH] ci(client): add txt file --- .github/workflows/client.yml | 11 +++++++++-- client/README.md | 0 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 client/README.md diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index b4f90ee60..5e916dd4a 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -79,7 +79,6 @@ jobs: $(npm bin)/cypress run --browser firefox --headless build-and-deploy-staging: - if: github.ref != 'refs/heads/master' environment: staging runs-on: ubuntu-latest steps: @@ -93,6 +92,10 @@ jobs: - name: install client dependencies working-directory: client run: npm install + + - name: create version.txt + working-directory: client + run: echo "https://github.com/meirim-org/meirim/commit/${{ github.ref_name }}" > public/version.txt - name: build working-directory: client @@ -132,7 +135,11 @@ jobs: - name: install client dependencies working-directory: client run: npm install - + + - name: create version.txt + working-directory: client + run: echo "https://github.com/meirim-org/meirim/commit/${{ github.ref_name }}" > public/version.txt + - name: build working-directory: client run: npm run build diff --git a/client/README.md b/client/README.md new file mode 100644 index 000000000..e69de29bb