Skip to content

refactor: list $ICHI #21

refactor: list $ICHI

refactor: list $ICHI #21

Workflow file for this run

name: "Tokenlist IPFS Deployment"
on:
push:
jobs:
ci:
runs-on: "ubuntu-latest"
steps:
- name: "Check out the repo"
uses: "actions/checkout@v3"
- name: "Install Node.js"
uses: "actions/setup-node@v3"
with:
cache: "yarn"
node-version: "lts/*"
- name: "Install the dependencies"
run: "yarn install --immutable"
- name: "Build the client app"
run: "yarn build"
- name: Pin to IPFS
id: upload
uses: aquiladev/ipfs-action@master
with:
path: "build/sablier-community.tokenlist.json"
service: "infura"
pinName: "tokenlist"
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }}
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }}
- name: Create commit comment with IPFS hash
uses: peter-evans/commit-comment@v2
with:
body:
"Successfully deployed on IPFS: [${{ steps.upload.outputs.hash }}](https://cloudflare-ipfs.com/ipfs/${{
steps.upload.outputs.hash }})"
- name: Update DNS with new IPFS hash
env:
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
CLOUDFLARE_GATEWAY_ID: ${{ secrets.CLOUDFLARE_GATEWAY_ID }}
uses: Uniswap/cloudflare-update-web3-gateway@b3205288b1c6d0acb63fa3bd8fb686c72a9e3f3e
with:
cid: ${{ steps.upload.outputs.hash }}