Skip to content

Commit

Permalink
add pinata to ipfs deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
dmosites committed Jan 8, 2024
1 parent dc86f7f commit 0c75a58
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
with:
node-version: 16.15.1

- name: Checkout 🛎️
- name: Checkout Code
uses: actions/checkout@v2.3.1

- name: Install and Build 🔧
- name: Install and Build
env:
REACT_APP_SENTRY_DSN: ${{ vars.REACT_APP_SENTRY_DSN }}
REACT_APP_RPC_URL_1: ${{ vars.REACT_APP_RPC_URL_1 }}
Expand All @@ -24,16 +24,24 @@ jobs:
yarn
yarn build
- name: Pages Deploy 🚀
- name: GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: build

- name: IPFS Deploy 🚀
- name: IPFS (Infura)
uses: aquiladev/ipfs-action@master
with:
path: ./build
service: infura
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }}
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }}

- name: IPFS (Pinata)
uses: aquiladev/ipfs-action@master
with:
path: ./build
service: pinata
pinataKey: ${{ secrets.PINATA_KEY }}
pinataSecret: ${{ secrets.PINATA_SECRET }}

0 comments on commit 0c75a58

Please sign in to comment.