File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 99 # Allows you to run this workflow manually from the Actions tab
1010 workflow_dispatch :
1111
12- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1312permissions :
1413 contents : read
1514 pages : write
1615 id-token : write
1716
18- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2017concurrency :
2118 group : " pages"
2219 cancel-in-progress : false
2320
2421jobs :
25- # Single deploy job since we're just deploying
2622 deploy :
2723 environment :
2824 name : github-pages
4440 - name : Upload artifact
4541 uses : actions/upload-pages-artifact@v3
4642 with :
47- # Upload entire repository
48- path : ' .'
43+ # Only upload index.html and dist/
44+ path : |
45+ index.html
46+ dist
4947 - name : Deploy to GitHub Pages
5048 id : deployment
5149 uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 2626 < div onClick ="player.currentTrack.togglePlayPause() "> Toggle Play/Pause</ div >
2727 < pre id ="ready "> Both tracks are not loaded</ pre >
2828 < pre id ="status "> </ pre >
29- < script type ="text/javascript " src ="./dist/cjs/index.cjs "> </ script >
29+ < script type ="text/javascript " src ="./dist/cjs/index.cjs " type =" module " > </ script >
3030 < script type ="text/javascript ">
3131 window . player = new Gapless . Queue ( {
3232 tracks : [
You can’t perform that action at this time.
0 commit comments