2021-04-13 08:52:56 +00:00
|
|
|
name: Upload to IPFS
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
upload-ipfs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-04-13 08:57:35 +00:00
|
|
|
- uses: actions/checkout@v2
|
2021-04-13 08:52:56 +00:00
|
|
|
- uses: aquiladev/ipfs-action@v0.1.5
|
2021-04-13 08:57:35 +00:00
|
|
|
id: upload
|
2021-04-13 08:52:56 +00:00
|
|
|
with:
|
|
|
|
path: ./blockchains
|
|
|
|
service: pinata
|
|
|
|
pinataKey: ${{ secrets.PINATA_KEY }}
|
|
|
|
pinataSecret: ${{ secrets.PINATA_SECRET }}
|
|
|
|
pinataPinName: blockchains
|
|
|
|
verbose: false
|
|
|
|
- uses: aquiladev/ipfs-action@v0.1.5
|
2021-04-13 08:57:35 +00:00
|
|
|
id: upload-dapps
|
2021-04-13 08:52:56 +00:00
|
|
|
with:
|
|
|
|
path: ./dapps
|
|
|
|
service: pinata
|
|
|
|
pinataKey: ${{ secrets.PINATA_KEY }}
|
|
|
|
pinataSecret: ${{ secrets.PINATA_SECRET }}
|
|
|
|
pinataPinName: dapps
|
|
|
|
verbose: false
|