diff --git a/.github/workflows/dhis2-deploy-netlify.yml b/.github/workflows/dhis2-deploy-netlify.yml index 14210c991..ce9e8c7b2 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: