From 89f9c37fdf51298a59c4ea1e599bbb22f4c10b78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Thu, 25 Jul 2024 21:32:58 +0100 Subject: [PATCH] fix: Update `@next` GitHub action (#217) --- .github/workflows/publish.yml | 4 ---- .github/workflows/update-next.yml | 2 +- .../planningPermission/fullHouseholderInConservationArea.ts | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index afca4523..5b157b56 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -61,10 +61,6 @@ jobs: git fetch origin dist git checkout -b dist origin/dist - - name: Cleanup old /latest folder - if: steps.version_check.outputs.changed == 'true' - run: rm -rf latest/* - - name: Commit and Push Changes if: steps.version_check.outputs.changed == 'true' run: | diff --git a/.github/workflows/update-next.yml b/.github/workflows/update-next.yml index 69617d7f..8d08da79 100644 --- a/.github/workflows/update-next.yml +++ b/.github/workflows/update-next.yml @@ -51,7 +51,7 @@ jobs: - name: Checkout Dist Branch run: | git fetch origin dist - git checkout -b dist origin/dist + git checkout -f dist - name: Commit and Push Changes run: | diff --git a/examples/application/data/planningPermission/fullHouseholderInConservationArea.ts b/examples/application/data/planningPermission/fullHouseholderInConservationArea.ts index b022088a..0dae1104 100644 --- a/examples/application/data/planningPermission/fullHouseholderInConservationArea.ts +++ b/examples/application/data/planningPermission/fullHouseholderInConservationArea.ts @@ -1,4 +1,4 @@ -import { Application } from "../../../../types/schemas/application"; +import {Application} from '../../../../types/schemas/application'; const version = process.env['VERSION'] || '@next';