mirror of
https://github.com/jaypyles/Scraperr.git
synced 2026-09-22 11:25:34 +00:00
feat: add auto deploy workflow
This commit is contained in:
@@ -7,16 +7,16 @@ on:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
uses: ./.github/workflows/reusable/tests.yml
|
||||
uses: ./.github/workflows/tests.yml
|
||||
secrets:
|
||||
openai_key: ${{ secrets.OPENAI_KEY }}
|
||||
|
||||
version:
|
||||
uses: ./.github/workflows/reusable/version.yml
|
||||
uses: ./.github/workflows/version.yml
|
||||
|
||||
build-and-deploy:
|
||||
needs: tests
|
||||
uses: ./.github/workflows/reusable/docker-image.yml
|
||||
uses: ./.github/workflows/docker-image.yml
|
||||
secrets:
|
||||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -15,6 +15,6 @@ jobs:
|
||||
|
||||
call-pr-tests:
|
||||
needs: checkout
|
||||
uses: ./.github/workflows/reusable/tests.yml
|
||||
uses: ./.github/workflows/tests.yml
|
||||
secrets:
|
||||
openai_key: ${{ secrets.OPENAI_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user