Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
run: yarn

- name: Build site
run: yarn build:testnet
run: |
export REACT_APP_GIT_HASH=${{ github.sha }}
yarn build:testnet

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down Expand Up @@ -56,7 +58,9 @@ jobs:
run: yarn

- name: Build site
run: yarn build:mainnet
run: |
export REACT_APP_GIT_HASH=${{ github.sha }}
yarn build:mainnet

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- name: Install and Build for Testnet 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
yarn install --network-timeout 100000 || yarn install --network-timeout 100000 || yarn install --network-timeout 100000
export REACT_APP_GIT_HASH=${{ github.sha }}
yarn build:ghpages

- name: Deploy 🚀
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/qa-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
run: yarn

- name: Build site
run: yarn build:mainnet
run: |
export REACT_APP_GIT_HASH=${{ github.sha }}
yarn build:mainnet

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
1 change: 1 addition & 0 deletions src/app/components/FooterComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const FooterComponent = (props) => {
{`Copyright © ${new Date().getFullYear()} `}
RootstockLabs. All rights reserved.
{` ${version}`}
{process.env.REACT_APP_GIT_HASH && ` (${process.env.REACT_APP_GIT_HASH.slice(0, 7)})`}
Comment thread
jessgusclark marked this conversation as resolved.
Comment thread
jessgusclark marked this conversation as resolved.
</p>
</Col>
</Row>
Expand Down
Loading