piñata soft fail
This commit is contained in:
3
.github/workflows/ipfs-release.yml
vendored
3
.github/workflows/ipfs-release.yml
vendored
@@ -25,16 +25,19 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Install Pinata CLI
|
- name: Install Pinata CLI
|
||||||
|
if: secrets.PINATA_JWT != ''
|
||||||
shell: bash
|
shell: bash
|
||||||
run: curl -fsSL https://cli.pinata.cloud/install | bash
|
run: curl -fsSL https://cli.pinata.cloud/install | bash
|
||||||
|
|
||||||
- name: Authenticate Pinata CLI (write JWT to file)
|
- name: Authenticate Pinata CLI (write JWT to file)
|
||||||
|
if: secrets.PINATA_JWT != ''
|
||||||
env:
|
env:
|
||||||
PINATA_JWT: ${{ secrets.PINATA_JWT }}
|
PINATA_JWT: ${{ secrets.PINATA_JWT }}
|
||||||
run: |
|
run: |
|
||||||
echo -n "$PINATA_JWT" > ~/.pinata-files-cli
|
echo -n "$PINATA_JWT" > ~/.pinata-files-cli
|
||||||
|
|
||||||
- name: Upload build output to Pinata
|
- name: Upload build output to Pinata
|
||||||
|
if: secrets.PINATA_JWT != ''
|
||||||
id: pinata_upload
|
id: pinata_upload
|
||||||
run: |
|
run: |
|
||||||
export PATH="$HOME/.local/share/pinata/:$PATH"
|
export PATH="$HOME/.local/share/pinata/:$PATH"
|
||||||
|
|||||||
Reference in New Issue
Block a user