diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 61d350f3..81efa8e1 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -46,7 +46,11 @@ runs: - name: Install dependencies with Composer uses: ramsey/composer-install@3.0.0 with: + working-directory: "composer" # Revert when psalm supports PHP 8.4 # composer-options: "--no-suggest" composer-options: "--no-suggest ${{ inputs.php-version == '8.4' && '--ignore-platform-req=php+' || '' }}" + - name: Move vendor up a level + run: "mv composer/vendor ." + shell: bash \ No newline at end of file diff --git a/build.sh b/build.sh index b62b6772..a5e15032 100644 --- a/build.sh +++ b/build.sh @@ -3,6 +3,5 @@ if [ -f build-site.sh ]; then rm build-site.sh fi - curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh -sh build-site.sh \ No newline at end of file +sh build-site.sh diff --git a/composer.json b/composer/composer.json similarity index 100% rename from composer.json rename to composer/composer.json diff --git a/netlify.toml b/netlify.toml index 2d0a3b98..d9fb7a2c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,5 +5,6 @@ name = "snooty-cache-plugin" # set in your site’s Branches settings in the UI will inherit # these settings. [build] + publish = "snooty/public" command = ". ./build.sh"