[Internal][WIP] Upload to IPFS (#6393)

* Test IPFS upload in fix build

* Try without v1 version

* Use v0.1.5

* Use Pinata service

* Upload only dapps folder (revert)

* Also include blockchain folder

* Fix

* Create separate upload build

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
This commit is contained in:
Adam R 2021-04-13 10:52:56 +02:00 committed by GitHub
parent ccda74b9d2
commit 096a7c9058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
.github/workflows/upload-ipfs.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Upload to IPFS
on:
push:
branches:
- master
workflow_dispatch:
jobs:
upload-ipfs:
runs-on: ubuntu-latest
steps:
- uses: aquiladev/ipfs-action@v0.1.5
id: ipfs-test-bc
with:
path: ./blockchains
service: pinata
pinataKey: ${{ secrets.PINATA_KEY }}
pinataSecret: ${{ secrets.PINATA_SECRET }}
pinataPinName: blockchains
verbose: false
- uses: aquiladev/ipfs-action@v0.1.5
id: ipfs-test
with:
path: ./dapps
service: pinata
pinataKey: ${{ secrets.PINATA_KEY }}
pinataSecret: ${{ secrets.PINATA_SECRET }}
pinataPinName: dapps
verbose: false