-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filebase Initial Implementation [Draft] (#4)
Adds Support for Filebase Pinning Adds conditional tests for pinning to Pinata, Filebase, and Infura.
- Loading branch information
Showing
12 changed files
with
152,222 additions
and
64,510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Test Pin to Providers | ||
|
||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Publish Test [Pinata] | ||
env: | ||
PINATA_KEY: ${{ secrets.PINATA_KEY }} | ||
if: "${{ env.PINATA_KEY != '' }}" | ||
uses: ./ | ||
with: | ||
path: 'dist' | ||
service: 'pinata' | ||
pinName: 'ipfs-action' | ||
pinataKey: ${{ secrets.PINATA_KEY }} | ||
pinataSecret: ${{ secrets.PINATA_SECRET }} | ||
|
||
- name: Publish Test [Filebase] | ||
env: | ||
FILEBASE_BUCKET: ${{ secrets.FILEBASE_BUCKET }} | ||
if: "${{ env.FILEBASE_BUCKET != '' }}" | ||
uses: ./ | ||
with: | ||
path: 'dist' | ||
service: 'filebase' | ||
pinName: 'ipfs-action' | ||
filebaseBucket: ${{ secrets.FILEBASE_BUCKET }} | ||
filebaseKey: ${{ secrets.FILEBASE_KEY }} | ||
filebaseSecret: ${{ secrets.FILEBASE_SECRET }} | ||
|
||
- name: Publish Test [Infura] | ||
env: | ||
INFURA_PROJECT_ID: ${{ secrets.INFURA_PROJECT_ID }} | ||
if: "${{ env.INFURA_PROJECT_ID != '' }}" | ||
uses: ./ | ||
with: | ||
path: 'dist' | ||
service: 'pinata' | ||
pinName: 'ipfs-action' | ||
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }} | ||
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.