Skip to content

Commit baa2deb

Browse files
authored
Merge pull request #131 from mongodb/branberry-patch-1
Refactor static analysis to work with Netlify
2 parents 8758706 + 21d2d0d commit baa2deb

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.github/actions/setup/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ runs:
4646
- name: Install dependencies with Composer
4747
uses: ramsey/composer-install@3.0.0
4848
with:
49+
working-directory: "composer"
4950
# Revert when psalm supports PHP 8.4
5051
# composer-options: "--no-suggest"
5152
composer-options: "--no-suggest ${{ inputs.php-version == '8.4'
5253
&& '--ignore-platform-req=php+' || '' }}"
54+
- name: Move vendor up a level
55+
run: "mv composer/vendor ."
56+
shell: bash

build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ if [ -f build-site.sh ]; then
33
rm build-site.sh
44
fi
55

6-
76
curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scripts/build-site.sh -o build-site.sh
8-
sh build-site.sh
7+
sh build-site.sh
File renamed without changes.

netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ name = "snooty-cache-plugin"
55
# set in your site’s Branches settings in the UI will inherit
66
# these settings.
77
[build]
8+
89
publish = "snooty/public"
910
command = ". ./build.sh"

0 commit comments

Comments
 (0)