From 0b7e07a9fbdda6fce2810b0d4bd99eec839d02f9 Mon Sep 17 00:00:00 2001 From: Mike McNeil Date: Tue, 3 May 2022 21:05:19 -0500 Subject: [PATCH] Website: Ignore top level gitignore when deploying (#5549) * Website: Ignore top level gitignore when deploying * Update deploy-fleet-website.yml --- .github/workflows/deploy-fleet-website.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy-fleet-website.yml b/.github/workflows/deploy-fleet-website.yml index c2ff4ea842..23b1d0f48c 100644 --- a/.github/workflows/deploy-fleet-website.yml +++ b/.github/workflows/deploy-fleet-website.yml @@ -49,6 +49,11 @@ jobs: # > Turns out there's a similar issue with how eslint plugins are looked up, so we # > delete the top level .eslintrc file too. - run: rm -f .eslintrc.js + # > And, as a change to the top-level fleetdm/fleet .gitignore on May 2, 2022 revealed, + # > we also need to delete the top level .gitignore file too, so that its rules don't + # > interfere with the committing and force-pushing we're doing as part of our deploy + # > script here. For more info, see: https://github.com/fleetdm/fleet/pull/5549 + - run: rm -f .gitignore # Download dependencies (including dev deps) - run: cd website/ && npm install