feat: implement Docker-based production deployment pipeline with automated Ansible provisioning, CI/CD workflows, and Caddy server configuration.
This commit is contained in:
20
.github/workflows/on-pull-request-to-main.yml
vendored
Normal file
20
.github/workflows/on-pull-request-to-main.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: On Pull Request to Main
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
uses: ./.github/workflows/test.yml
|
||||
|
||||
publish:
|
||||
needs: test
|
||||
uses: ./.github/workflows/publish-image.yml
|
||||
secrets: inherit
|
||||
|
||||
deploy-dev:
|
||||
needs: publish
|
||||
uses: ./.github/workflows/deploy-dev.yml
|
||||
secrets: inherit
|
||||
Reference in New Issue
Block a user