Skip to content

Commit

Permalink
ci(client): add txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
yossi-eynav committed Feb 10, 2024
1 parent 4d2a1fa commit e9a3220
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
Empty file added client/README.md
Empty file.

0 comments on commit e9a3220

Please sign in to comment.