From 58edd83c1597a75449de4409368e86326a6ef3f4 Mon Sep 17 00:00:00 2001 From: PEZ Date: Sun, 17 Nov 2024 23:50:11 +0100 Subject: [PATCH] Deploy from app folder --- .github/workflows/build-and-deploy.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index c00a964..3abec42 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -62,16 +62,14 @@ jobs: set -x npm run build - - name: Override .gitignore for deployment + - name: Copy to app folder run: | - printf "\n\n" >> .gitignore - echo "!/node_modules/todomvc-app-css/" >> .gitignore - echo "!/node_modules/todomvc-common/" >> .gitignore - echo "!/js/" >> .gitignore + set -x + bb copy-to-app-dir - name: Deploy app to gh-pages if: github.ref == 'refs/heads/main' uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: . + publish_dir: replicant-todomvc