Skip to content

Commit fba2f74

Browse files
committed
feat: prepare demo instance
refactor: move REDIS_URL in envvar ci: add deploy.yml ci: update deploy.yml ci: update deploy.yml chore: update Exception list in sentry.yaml ci: update deploy.yml
1 parent dcf66b8 commit fba2f74

14 files changed

Lines changed: 1014 additions & 411 deletions

File tree

.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,9 @@ INFLUXDB_URL=http://localhost:8086
9494
INFLUXDB_TOKEN=TOKEN
9595
INFLUXDB_BUCKET=domainwatchdog
9696
INFLUXDB_ORG=domainwatchdog
97+
98+
###> sentry/sentry-symfony ###
99+
SENTRY_DSN=
100+
###< sentry/sentry-symfony ###
101+
102+
REDIS_URL=

.github/workflows/deploy.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy Demo
2+
3+
on:
4+
push:
5+
branches: [demo-instance]
6+
7+
concurrency: production_environment
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
environment:
13+
name: Domain Watchdog Demo
14+
url: https://demo.domainwatchdog.eu
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Setup PHP
19+
uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: "8.4"
22+
23+
- name: Install dependencies
24+
run: composer install
25+
26+
- name: Deploy
27+
uses: deployphp/action@v1
28+
with:
29+
private-key: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
30+
dep: deploy

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"psr/http-client": "^1.0",
4545
"runtime/frankenphp-symfony": "^0.2.0",
4646
"scienta/doctrine-json-functions": "^6.3",
47+
"sentry/sentry-symfony": "^5.6",
4748
"symfony/asset": "7.3.*",
4849
"symfony/asset-mapper": "7.3.*",
4950
"symfony/cache": "7.3.*",
@@ -148,6 +149,7 @@
148149
},
149150
"require-dev": {
150151
"doctrine/doctrine-fixtures-bundle": "^4.2",
152+
"deployer/deployer": "^7.5",
151153
"friendsofphp/php-cs-fixer": "^3.61",
152154
"justinrainbow/json-schema": "^6.6",
153155
"phpstan/phpstan": "^1.11",

0 commit comments

Comments
 (0)