File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 github_token : ${{ secrets.GITHUB_TOKEN }}
3535 publish_dir : ./build
3636 publish_branch : gh-pages
37+ cname : codeclash.ai
3738 commit_message : " Deploy website to GitHub Pages"
3839 force_orphan : true # This ensures a clean history with only the built files
Original file line number Diff line number Diff line change @@ -7,20 +7,3 @@ preview:
77
88build :
99 python $(server ) build
10-
11- # usage: make push m="commit message"
12- push :
13- git add -A && \
14- git commit -m " $( m) " && \
15- git push origin main
16-
17- # usage: make deploy m="commit message"
18- deploy :
19- python $(server ) build && \
20- cd ../deploy && \
21- git pull origin main && \
22- cp -r ../$(build_dir ) /build/* . && \
23- cp -r ../$(build_dir ) /.gitignore . && \
24- git add -A && \
25- git commit -m ' deploy: $(m)' && \
26- git push origin main
You can’t perform that action at this time.
0 commit comments