push-master.yml adjust skip

This commit is contained in:
Jaco Greeff
2021-06-05 09:38:14 +03:00
parent acee8b50e1
commit 2a688eb13d
+2 -9
View File
@@ -6,11 +6,11 @@ on:
jobs: jobs:
master: master:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
strategy: strategy:
matrix: matrix:
step: ['build:release'] step: ['build:release']
name: ${{ matrix.step }} name: ${{ matrix.step }}
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && github.repository == 'polkadot-js/phishing'"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -27,11 +27,11 @@ jobs:
# publish to ipfs when a release is detected # publish to ipfs when a release is detected
ipfs: ipfs:
if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')"
strategy: strategy:
matrix: matrix:
step: ['build:release:ipfs'] step: ['build:release:ipfs']
name: ${{ matrix.step }} name: ${{ matrix.step }}
if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable') && github.repository == 'polkadot-js/phishing'"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -44,10 +44,3 @@ jobs:
yarn install --immutable | grep -v 'YN0013' yarn install --immutable | grep -v 'YN0013'
./scripts/ipfsPrep.sh ./scripts/ipfsPrep.sh
yarn ${{ matrix.step }} yarn ${{ matrix.step }}
dummy:
runs-on: ubuntu-latest
steps:
- name: dummy
run: |
echo "Dummy skip step"