mirror of
https://github.com/gotson/komga.git
synced 2025-01-09 04:08:00 +08:00
Create build_and_deploy.yml
This commit is contained in:
parent
c53addc9c7
commit
e46ca44b28
32
.github/workflows/build_and_deploy.yml
vendored
Normal file
32
.github/workflows/build_and_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 New Issue
Block a user