Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kruftik committed Sep 21, 2020
1 parent da8fd11 commit bf1a21a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/branch-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Branch CI

on:
push:
branches:
- '!master'
paths:
- '.github/workflows/branch-build.yml'
branches-ignore:
- 'master'
# paths:
# - '.github/workflows/branch-build.yml'

jobs:
branch-build:
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/git-tag-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
tags:
- v*
paths:
- '.github/workflows/git-tag-build.yml'
# paths:
# - '.github/workflows/git-tag-build.yml'

jobs:
tag-build:
Expand Down Expand Up @@ -35,3 +35,16 @@ jobs:

- name: Push Docker image on DockerHub
run: docker push ${DOCKER_IMAGE}

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: |
See git history for changes
draft: false
prerelease: true
4 changes: 2 additions & 2 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Master Build
on:
push:
branches: [ master ]
paths:
- '.github/workflows/master-build.yml'
# paths:
# - '.github/workflows/master-build.yml'
pull_request:
branches: [ master ]

Expand Down

0 comments on commit bf1a21a

Please sign in to comment.