Skip to content

Commit f1a8b9d

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 557ca7d commit f1a8b9d

15 files changed

Lines changed: 593 additions & 6 deletions

File tree

.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,9 @@ INFLUXDB_URL=http://localhost:8086
8888
INFLUXDB_TOKEN=TOKEN
8989
INFLUXDB_BUCKET=domainwatchdog
9090
INFLUXDB_ORG=domainwatchdog
91+
92+
###> sentry/sentry-symfony ###
93+
SENTRY_DSN=
94+
###< sentry/sentry-symfony ###
95+
96+
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
@@ -42,6 +42,7 @@
4242
"protonlabs/vobject": "^4.31",
4343
"psr/http-client": "^1.0",
4444
"runtime/frankenphp-symfony": "^0.2.0",
45+
"sentry/sentry-symfony": "^5.6",
4546
"symfony/asset": "7.3.*",
4647
"symfony/asset-mapper": "7.3.*",
4748
"symfony/cache": "7.3.*",
@@ -146,6 +147,7 @@
146147
},
147148
"require-dev": {
148149
"doctrine/doctrine-fixtures-bundle": "^4.2",
150+
"deployer/deployer": "^7.5",
149151
"friendsofphp/php-cs-fixer": "^3.61",
150152
"justinrainbow/json-schema": "^6.6",
151153
"phpstan/phpstan": "^1.11",

0 commit comments

Comments
 (0)