mirror of
https://github.com/gotson/komga.git
synced 2026-04-19 13:31:15 +02:00
trying to make GH actions work [ci skip]
This commit is contained in:
parent
5cf82129cc
commit
e8664bc129
1 changed files with 32 additions and 0 deletions
32
.github/workflows/dockerhub_deploy.yml
vendored
Normal file
32
.github/workflows/dockerhub_deploy.yml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
name: Deploy to DockerHub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '*'
|
||||
# - '!*.md'
|
||||
# - '!.travis.yml'
|
||||
# - '!./github/*/*'
|
||||
# - '!./doc/*'
|
||||
# - '!.idea/runConfigurations/*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: '1.8'
|
||||
- run: ./gradlew build
|
||||
|
||||
deploy_dockerhub:
|
||||
name: Deploy to DockerHub
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- run: echo Triggered by ${{ github.ref }}
|
||||
Loading…
Reference in a new issue