mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-22 04:28:01 +00:00
Pin content to ipfs (#101)
* Pin content to ipfs * Update scripts/ipfsPrep.sh * Add actual packages * Update .github/workflows/push-master.yml
This commit is contained in:
@@ -25,6 +25,26 @@ jobs:
|
||||
yarn install --immutable | grep -v 'YN0013'
|
||||
yarn ${{ matrix.step }}
|
||||
|
||||
# publish to ipfs when a release is detected
|
||||
ipfs:
|
||||
strategy:
|
||||
matrix:
|
||||
step: ['build:release:ipfs']
|
||||
name: ${{ matrix.step }}
|
||||
if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable') && github.repository == 'polkadot-js/phishing'"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: ${{ matrix.step }}
|
||||
env:
|
||||
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
|
||||
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }}
|
||||
PINATA_SECRET_KEY: ${{ secrets.PINATA_SECRET_KEY }}
|
||||
run: |
|
||||
yarn install --immutable | grep -v 'YN0013'
|
||||
./scripts/ipfsPrep.sh
|
||||
yarn ${{ matrix.step }}
|
||||
|
||||
dummy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user