Skip to content

[Snyk] Upgrade gatsby-image from 2.3.4 to 2.11.0 #10

[Snyk] Upgrade gatsby-image from 2.3.4 to 2.11.0

[Snyk] Upgrade gatsby-image from 2.3.4 to 2.11.0 #10

Workflow file for this run

name: Upload IPFS
on:
pull_request:
branches:
- master
jobs:
upload-to-ipfs:
name: aip-uploader
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Rename aip to upper case
run: cd content/aips && bash toUpper.sh || true && cd ../..
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install dependencies
run: npm install
- name: Parse Markdown
run: npm run parse-markdown
- name: Upload to Pinata and theGraph IPFS
env:
PINATA_KEY: ${{ secrets.PINATA_KEY }}
PINATA_SECRET: ${{ secrets.PINATA_SECRET }}
run: npm run upload:pinata-thegraph
- name: Commit changes
uses: EndBug/add-and-commit@v6
with:
author_name: miguelmtzinf
author_email: [email protected]
message: '[PIPELINE] Committed IPFS documents uploads'
add: '.'