From 6f2498b7d8176e686560869670b4c368faed11d5 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Thu, 28 Jul 2022 12:18:13 +0800 Subject: [PATCH] fix CI --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 264d087..c3af418 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -22,7 +22,7 @@ jobs: - run: echo "VITE_GIT_SHA=$(git rev-parse --short HEAD)" >> app/.env - run: cd app && npm install && ./node_modules/.bin/tsc && ./node_modules/.bin/vite build --base=/PMTiles/ - run: cd serverless/aws && python create_lambda_function.py && cp lambda_function.zip ../../app/dist - - run: cd serverless/cloudflare && npm run build && cp dist/worker.js ../../app/dist + - run: cd serverless/cloudflare && npm install && npm run build && cp dist/worker.js ../../app/dist - name: build_app uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/master' }}