mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-23 05:46:50 +00:00
Oops on/release was in the wrong block
This commit is contained in:
@@ -6,11 +6,11 @@ on:
|
||||
branches: [master]
|
||||
tags: '*.*'
|
||||
types: [completed]
|
||||
release:
|
||||
types:
|
||||
- created
|
||||
- edited
|
||||
- published
|
||||
release:
|
||||
types:
|
||||
- created
|
||||
- edited
|
||||
- published
|
||||
|
||||
jobs:
|
||||
on-success:
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
|
||||
- name: Build and push :latest
|
||||
id: docker_build
|
||||
if: ${{ github.ref == 'master'}}
|
||||
if: ${{ github.ref == 'refs/heads/master'}}
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./
|
||||
@@ -83,7 +83,7 @@ jobs:
|
||||
|
||||
- name: Build and push :tag
|
||||
id: docker_build_tag_release
|
||||
if: startsWith(github.ref, 'refs/tags/0.')
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./
|
||||
|
||||
Reference in New Issue
Block a user