Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
fix: deploy script permissions
Browse files Browse the repository at this point in the history
Since these files are created with Docker, they are owned by root.
  • Loading branch information
lukasz.czaplinski committed Nov 18, 2019
1 parent f67124a commit 6ee9993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject resume "1.4.0-pages-deploy-fix"
(defproject resume "1.4.0-pages-deploy-fix-2"
:description "Resume generator"
:url "http://github.com/scoiatael/resume"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/resume/gh_pages.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
[]
(let [git-tag (-> (sh! "git" "describe" "--tags") :out str/trim)]
(sh! "git" "checkout" "gh-pages")
(sh! "mv" "target/dist/resume.html" "index.html")
(sh! "cp" "target/dist/resume.html" "index.html")
(sh! "git" "add" "index.html")
(sh! "git" "commit" "-m" (str "release: " git-tag))
(sh! "git" "push" "origin" "gh-pages")))

0 comments on commit 6ee9993

Please sign in to comment.