-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto generate build URL for setting download link
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ name: Deploy interface and release extension | |
on: | ||
workflow_dispatch: | ||
inputs: | ||
REF: | ||
required: true | ||
type: string | ||
default: "main" | ||
REACT_APP_NAMADA_ALIAS: | ||
required: true | ||
type: string | ||
|
@@ -43,6 +47,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ inputs.REF }} | ||
|
||
- name: Set environment variables | ||
id: set-environment-variables | ||
|
@@ -81,6 +87,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ inputs.REF }} | ||
|
||
- name: Install yarn dependencies | ||
uses: ./.github/actions/yarn-cache | ||
|
@@ -96,7 +104,7 @@ jobs: | |
- name: Install wasm-pack | ||
uses: jetli/[email protected] | ||
with: | ||
version: "v0.10.3" | ||
version: "v0.12.1" | ||
|
||
- name: Build the interface | ||
working-directory: ./apps/namada-interface | ||
|
@@ -111,6 +119,7 @@ jobs: | |
REACT_APP_ETH_ALIAS: ${{ inputs.REACT_APP_ETH_ALIAS }} | ||
REACT_APP_ETH_CHAIN_ID: ${{ inputs.REACT_APP_ETH_CHAIN_ID }} | ||
REACT_APP_ETH_URL: ${{ inputs.REACT_APP_ETH_URL }} | ||
REACT_APP_EXTENSION_URL: https://github.com/anoma/namada-interface/releases/tag/${{ needs.setup.outputs.VERSION }}/ | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -123,6 +132,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ inputs.REF }} | ||
|
||
- name: Install yarn dependencies | ||
uses: ./.github/actions/yarn-cache | ||
|
@@ -172,6 +183,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ inputs.REF }} | ||
|
||
- name: Install yarn dependencies | ||
uses: ./.github/actions/yarn-cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39d105f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://6527d2da3d62e8007405787b--wallet-preview-heliax-dev.netlify.app