initial commit for typo3
This commit is contained in:
commit
a51fd585a2
6 changed files with 652 additions and 0 deletions
25
examples/project-workflow-staged.yaml
Normal file
25
examples/project-workflow-staged.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Example: Staged deployment with E2E tests (like gbv-aktuell)
|
||||
# Place in your project's .forgejo/workflows/deploy.yaml
|
||||
|
||||
name: Build and Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'renovate.json'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
uses: infrastructure/ci-templates/.forgejo/workflows/typo3-staged-deploy.yaml@main
|
||||
with:
|
||||
stage_url: https://PROJECTNAME.cloonar.dev
|
||||
php_version: '8.3'
|
||||
run_e2e_tests: true
|
||||
e2e_path: tests/e2e
|
||||
deploy_production: false # Set true for auto-deploy to prod after tests pass
|
||||
secrets:
|
||||
stage_key: ${{ secrets.STAGE_KEY }}
|
||||
prod_key: ${{ secrets.PROD_KEY }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue