ghost-portal/.github/workflows/push-master.yml
Jaco Greeff b220fc3a50
Deploy to ipfs (#2778)
* Deploy to ipfs

* PINATA secrets

* Make <hash>.ipfs

* Use pinata sdk

* pin.json
2020-05-20 11:49:37 +02:00

39 lines
1.0 KiB
YAML

name: Master
on:
push:
branches:
- master
jobs:
master:
strategy:
matrix:
step: ['build:release:www', 'build:release:electron']
name: ${{ matrix.step }}
if: "! contains(github.event.head_commit.message, '[CI Skip]') && github.repository == 'polkadot-js/apps'"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
token: ${{ secrets.GH_PAT }}
- name: ${{ matrix.step }}
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GH_PAGES_SRC: packages/apps/build
GH_PAT: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }}
PINATA_SECRET_KEY: ${{ secrets.PINATA_SECRET_KEY }}
run: |
yarn install --immutable | grep -v 'YN0013'
yarn ${{ matrix.step }}
dummy:
name: Dummy
if: "contains(github.event.head_commit.message, '[CI Skip]')"
runs-on: ubuntu-latest
steps:
- name: dummy
run: |
echo "Dummy skip step"