|
|
|
@ -3,7 +3,7 @@ name: Overseerr CI
|
|
|
|
|
on:
|
|
|
|
|
pull_request:
|
|
|
|
|
branches:
|
|
|
|
|
- "*"
|
|
|
|
|
- '*'
|
|
|
|
|
push:
|
|
|
|
|
branches:
|
|
|
|
|
- develop
|
|
|
|
@ -23,3 +23,16 @@ jobs:
|
|
|
|
|
run: yarn lint
|
|
|
|
|
- name: build
|
|
|
|
|
run: yarn build
|
|
|
|
|
build_and_push:
|
|
|
|
|
name: Build and push Docker image to Docker Hub
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- name: checkout
|
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
- name: Build and push to Docker Hub
|
|
|
|
|
uses: docker/build-push-action@v1
|
|
|
|
|
with:
|
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
|
repository: sctx/overseerr
|
|
|
|
|
tags: latest
|
|
|
|
|