Skip to content

Commit

Permalink
Deploy from app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
PEZ committed Nov 17, 2024
1 parent e7fbbf8 commit 58edd83
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 58edd83

Please sign in to comment.