From 360432c342cc22978d4a68e35387bcd623476c91 Mon Sep 17 00:00:00 2001 From: Austin McGee <947888+amcgee@users.noreply.github.com> Date: Wed, 27 Nov 2024 12:05:40 +0100 Subject: [PATCH] ci: don't build for netlify, just push the redirects file --- .github/workflows/dhis2-deploy-netlify.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dhis2-deploy-netlify.yml b/.github/workflows/dhis2-deploy-netlify.yml index 14210c991f..ce9e8c7b23 100644 --- a/.github/workflows/dhis2-deploy-netlify.yml +++ b/.github/workflows/dhis2-deploy-netlify.yml @@ -28,10 +28,10 @@ jobs: with: node-version: 20.x - - uses: c-hive/gha-yarn-cache@v1 - - run: yarn install --frozen-lockfile - - - run: yarn build + - name: Create redirects file for legacy netlify ui.dhis2.nu site + run: | + mkdir dist + cp ./docs/static/_redirects dist/_redirects - uses: nwtgck/actions-netlify@v1.1 with: