-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from blend-capital/wallet-alerts
Wallet alerts
- Loading branch information
Showing
6 changed files
with
134 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Build and Release to IPFS | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' # triggered whenever a new tag (previxed with "v") is pushed to the repository | ||
|
||
jobs: | ||
build-and-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
npm-version: '10.x' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Run build script | ||
run: npm run build:mainnet | ||
|
||
- name: Create tarball | ||
run: tar -czf app.tar.gz out/ | ||
|
||
- name: pinata | ||
id: pinata | ||
uses: aave/pinata-action@a3409e26f4cb859a2d9984109317caac53db5f68 | ||
with: | ||
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }} | ||
PINATA_SECRET_KEY: ${{ secrets.PINATA_SECRET_KEY }} | ||
PIN_ALIAS: 'app-blend-${{ github.head_ref || github.ref }}' | ||
BUILD_LOCATION: './out' | ||
CID_VERSION: 1 | ||
|
||
- name: Create release | ||
uses: softprops/action-gh-release@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.event.payload.tag }} | ||
release_name: ${{ github.event.payload.tag }} | ||
body: '## Blend UI Release\n\nThis release contains the latest build of the Blend UI.\n\n IPFS CID: ${{ steps.pinata.outputs.hash }}' | ||
draft: false | ||
prerelease: false | ||
files: app.tar.gz |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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