Skip to content

Merge pull request #34 from airswap/site-head #16

Merge pull request #34 from airswap/site-head

Merge pull request #34 from airswap/site-head #16

Workflow file for this run

name: IPFS Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 18.18
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install and Build 🔧
env:
VITE_INFURA_API_KEY: ${{ vars.INFURA_API_KEY }}
VITE_WALLET_CONNECT_PROJECT_ID: ${{ vars.VITE_WALLET_CONNECT_PROJECT_ID }}
run: |
yarn
yarn build
- name: IPFS (Infura)
uses: aquiladev/ipfs-action@master
with:
path: ./dist
service: infura
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }}
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }}
- name: IPFS (Pinata)
uses: aquiladev/ipfs-action@master
with:
path: ./dist
service: pinata
pinataKey: ${{ secrets.PINATA_KEY }}
pinataSecret: ${{ secrets.PINATA_SECRET }}