remove: skip ci
This commit is contained in:
parent
41f6dab76a
commit
150bea1522
1 changed files with 2 additions and 9 deletions
11
.github/workflows/push.yml
vendored
11
.github/workflows/push.yml
vendored
|
|
@ -9,21 +9,14 @@ jobs:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Dump GitHub context
|
- name: Dump GitHub context
|
||||||
env:
|
env:
|
||||||
GITHUB_CONTEXT_COMMIT_MSG: ${{ toJson(github.event.commits) }}
|
|
||||||
GITHUB_CONTEXT_COMMIT_MSG_COND: ${{ contains(toString(github.event.commits), '[skip ci]') }}
|
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
run: |
|
run: |
|
||||||
echo "$GITHUB_CONTEXT_COMMIT_MSG"
|
|
||||||
echo "$GITHUB_CONTEXT_COMMIT_MSG_COND"
|
|
||||||
echo "$GITHUB_CONTEXT"
|
echo "$GITHUB_CONTEXT"
|
||||||
- name: Docker build
|
- name: Docker build
|
||||||
if:
|
if:
|
||||||
github.event.deleted == false &&
|
github.event.deleted == false &&
|
||||||
github.event_name != 'create' &&
|
github.event_name != 'create'
|
||||||
contains(toString(github.event.commits), '[skip ci]') == false
|
|
||||||
run: docker build -t peaceiris/actions-hugo .
|
run: docker build -t peaceiris/actions-hugo .
|
||||||
- name: Check Hugo version
|
- name: Check Hugo version
|
||||||
if:
|
if: success()
|
||||||
success() &&
|
|
||||||
contains(toString(github.event.commits), '[skip ci]') == false
|
|
||||||
run: docker run peaceiris/actions-hugo:latest version
|
run: docker run peaceiris/actions-hugo:latest version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue