From 0652757b39ff3a0856b00413466e41c539c1d614 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 13 Sep 2021 17:37:21 +0200 Subject: [PATCH] Remove Sphinx build and SymfonyCloud deployment --- .github/workflows/ci.yaml | 26 --------------------- .symfony.cloud.yaml | 48 --------------------------------------- .symfony/routes.yaml | 11 --------- .symfony/services.yaml | 1 - 4 files changed, 86 deletions(-) delete mode 100644 .symfony.cloud.yaml delete mode 100644 .symfony/routes.yaml delete mode 100644 .symfony/services.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8af52fa5a47..6c10a4eaf9b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,32 +9,6 @@ on: - 'github-comments' jobs: - sphinx-build: - name: Build (Sphinx) - - runs-on: ubuntu-latest - - container: python:3.7-alpine - - steps: - - name: "Checkout" - uses: actions/checkout@v2 - - - name: "Display Python version" - run: python -c "import sys; print(sys.version)" - - - name: "Install Sphinx" - run: pip install --user sphinx - - - name: "Install dependencies" - run: apk add --no-cache git make - - - name: "Install custom requirements via pip" - run: pip install -r _build/.requirements.txt - - - name: "Build documentation" - run: make -C _build SPHINXOPTS="-nqW -j auto" html - symfony-docs-builder-build: name: Build (symfony-tools/docs-builder) diff --git a/.symfony.cloud.yaml b/.symfony.cloud.yaml deleted file mode 100644 index bcb1a48bf08..00000000000 --- a/.symfony.cloud.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# This file describes an application. You can have multiple applications -# in the same project. - -# The name of this app. Must be unique within a project. -name: symfonydocs - -# The toolstack used to build the application. -type: "php:7.2" - -# The configuration of app when it is exposed to the web. -web: - # The public directory of the app, relative to its root. - document_root: "/_build/output" - index_files: - - index.html - whitelist: - - \.html$ - - \.txt$ - - # CSS and Javascript. - - \.css$ - - \.js$ - - \.hbs$ - - # image/* types. - - \.gif$ - - \.png$ - - \.ico$ - - \.svgz?$ - - # fonts types. - - \.ttf$ - - \.eot$ - - \.woff$ - - \.otf$ - - # robots.txt. - - /robots\.txt$ - -# The size of the persistent disk of the application (in MB). -disk: 512 - -# The hooks that will be performed when the package is deployed. -hooks: - build: | - cd _build - composer install --prefer-dist --no-progress - php build.php diff --git a/.symfony/routes.yaml b/.symfony/routes.yaml deleted file mode 100644 index caf4875f732..00000000000 --- a/.symfony/routes.yaml +++ /dev/null @@ -1,11 +0,0 @@ -https://{default}/: - cache: - cookies: - - '*' - default_ttl: 0 - enabled: true - headers: - - Accept - - Accept-Language - type: upstream - upstream: symfonydocs:http diff --git a/.symfony/services.yaml b/.symfony/services.yaml deleted file mode 100644 index ec9369f2b00..00000000000 --- a/.symfony/services.yaml +++ /dev/null @@ -1 +0,0 @@ -# Keeping this file empty to not deploy unused services.