github.com/google/cloudprober@v0.11.3/docs/Makefile (about)

     1  .PHONY: all deploy clean
     2  
     3  all: public public/index.html
     4  
     5  public:
     6  	git worktree add public gh-pages
     7  
     8  public/index.html: public
     9  	hugo
    10  
    11  deploy:
    12  	cd public && \
    13  	git add --all && \
    14  	git commit -m "Deploy to gh-pages" && \
    15  	git push origin gh-pages
    16  
    17  # Removing the actual public directory confuses git and will require a git
    18  # worktree prune to fix
    19  clean:
    20  	rm -rf public/*