Skip to content

Commit

Permalink
upload a whole dir
Browse files Browse the repository at this point in the history
  • Loading branch information
douyixuan authored Oct 28, 2024
1 parent 8b0770b commit a6cd79c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
- name: Insall dependencies
run: npm install
- name: Compile
run: export CI=false && npm run build && tree ./site/dist -a
run: export CI=false && npm run build && tree ./site/dist -a && cp package.json site

- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: ./site/dist
build_dir: ./site
fqdn: cellscript.io
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a6cd79c

Please sign in to comment.