Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Ako/ add tag_name to public directory to be visible on server (#6150)
Browse files Browse the repository at this point in the history
* ci: add tag_name to public directory to be visible on server

* ci: use github sha on staging workflow

* ci: echo version to file
  • Loading branch information
ali-hosseini-deriv authored Dec 6, 2023
1 parent 9d8339f commit ad64c19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
- run: npm run format
- run: npm run test
- run: npm run build

- run: echo $GIT_TAG_NAME > public/version.txt

- name: Remove Storybook
uses: JesseTG/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
# - run: npm run test
- run: npm run build
# - run: npm run build:storybook
- run: echo $GITHUB_SHA > public/version.txt

- uses: olegtarasov/[email protected]
id: tagName
# For using same tag for staging and production we need to uncomment these two below lines:
Expand Down

1 comment on commit ad64c19

@vercel
Copy link

@vercel vercel bot commented on ad64c19 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-com – ./

deriv-com-git-master.binary.sx
deriv-com.binary.sx

Please sign in to comment.