File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # .github/workflows/deploy.yml
2+ name : Deploy main branch
3+ on :
4+ push :
5+ branches :
6+ - main
7+ jobs :
8+ deploy-preview :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ pages : write
13+ pull-requests : write
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v3
17+ - name : Setup node env
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : 20
21+ check-latest : true
22+ - name : Checkout
23+ run : |
24+ npm install
25+ npm run build -- --base /${{ github.event.repository.name }}/
26+ cp .eodash/dist/index.html .eodash/dist/404.html
27+ touch .eodash/dist/.nojekyll
28+ - name : Deploy
29+ uses : JamesIves/github-pages-deploy-action@v4
30+ with :
31+ folder : ./.eodash/dist/
32+ branch : gh-pages
33+ clean-exclude : pr-preview
You can’t perform that action at this time.
0 commit comments