16 lines
439 B
YAML
16 lines
439 B
YAML
# Full pipeline: checks -> build+push image -> bump tag in gitops repo.
|
|
# The heavy lifting lives in nholtware/workflows; this file is all a new
|
|
# app needs.
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
checks:
|
|
uses: nholtware/workflows/.forgejo/workflows/node-checks.yaml@main
|
|
deploy:
|
|
needs: checks
|
|
uses: nholtware/workflows/.forgejo/workflows/build-and-deploy.yaml@main
|
|
with:
|
|
app-name: demo-app
|
|
secrets: inherit
|