xmonad / xmonad-web

The xmonad.org website

Home Page:https://xmonad.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creates a Special Branch for Hakyll Application

wisn opened this issue · comments

Currently, I'm trying to restructuring the xmonad-web in this repository. I'm created a new branch for the Hakyll application separately form the gh-pages branch. So, contributor will contributing on the Hakyll branch instead of the gh-pages directly. Contributor will send the PR to the Hakyll branch. Then, we may deploy the commits with xmonad-web deploy command. Here is the deployCommand:

cp -r app/html/ ../xmonad-html/ && git checkout gh-pages && cp -rf ../xmonad-html/* . && rm -r ../xmonad-html/ && git status

Yes, the deploy command will bring us to the gh-pages branch and replace all the changes. So, the gh-pages will contain the web contents only. Any advice?