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:
master:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
strategy:
matrix:
step: ['build:release']
name: ${{ matrix.step }}
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && github.repository == 'polkadot-js/phishing'"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -27,11 +27,11 @@ jobs:
# publish to ipfs when a release is detected
ipfs:
if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')"
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
@@ -44,10 +44,3 @@ jobs:
yarn install --immutable | grep -v 'YN0013'
./scripts/ipfsPrep.sh
yarn ${{ matrix.step }}
dummy:
runs-on: ubuntu-latest
steps:
- name: dummy
run: |
echo "Dummy skip step"