-
-
Notifications
You must be signed in to change notification settings - Fork 46
47 lines (42 loc) · 1.36 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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: 'infura'
pinName: 'ipfs-action'
infuraProjectId: ${{ secrets.INFURA_PROJECT_ID }}
infuraProjectSecret: ${{ secrets.INFURA_PROJECT_SECRET }}