Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The afsy website cannot be deployed #292

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions .symfony.cloud.yaml → .platform.app.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: afsy

type: php:8.0
type: php:8.2

runtime:
extensions:
- apcu
- mbstring


build:
flavor: none

Expand Down Expand Up @@ -36,14 +35,6 @@ hooks:
(>&2 symfony-deploy)

crons:
snapshot:
# everyday at 5AM
spec: 0 5 * * *
cmd: |
# only snapshot the master environment, aka production
if [ "$SYMFONY_BRANCH" = master ]; then
croncape symfony env:snapshot:create --no-wait
fi
renewcert:
# Force a redeploy at 10 am (UTC) on the 1st and 15th of every month.
# for the master branch, aka production
Expand All @@ -55,3 +46,7 @@ crons:

relationships:
database: "database:mysql"




2 changes: 2 additions & 0 deletions .platform/local/project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id: 4ppvc4eit4dim
host: api.platform.sh
File renamed without changes.
File renamed without changes.
14 changes: 12 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "project",
"license": "proprietary",
"require": {
"php": "8.0.*",
"php": "8.2.*",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-json": "*",
Expand Down Expand Up @@ -68,7 +68,11 @@
"preferred-install": {
"*": "dist"
},
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"symfony/flex": true,
"php-http/discovery": true
}
},
"autoload": {
"psr-4": {
Expand All @@ -85,6 +89,12 @@
"paragonie/random_compat": "2.*",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php82": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php74": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
Expand Down
Loading