Skip to content

Commit

Permalink
modernize project #57
Browse files Browse the repository at this point in the history
  • Loading branch information
paulocoutinhox committed Nov 28, 2021
1 parent b79153e commit 223278b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/wasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,19 +799,19 @@ def run_task_publish_to_web():

# clone gh-pages branch
command = "git init ."
r.run_as_shell(" ".join(command), cwd=publish_dir)
r.run_as_shell(command, cwd=publish_dir)

command = "git add ."
r.run_as_shell(" ".join(command), cwd=publish_dir)
r.run_as_shell(command, cwd=publish_dir)

command = 'git commit -m "new version published"'
r.run_as_shell(" ".join(command), cwd=publish_dir)
r.run_as_shell(command, cwd=publish_dir)

command = 'git push "git@github.com:pdfviewer/pdfviewer.github.io.git" master:master --force'
r.run_as_shell(" ".join(command), cwd=publish_dir)
r.run_as_shell(command, cwd=publish_dir)

# finish
l.colored("Test on browser with: https://pdfviewer.github.io/", l.YELLOW)
l.colored("Test on browser: https://pdfviewer.github.io/", l.YELLOW)

l.ok()

Expand Down

0 comments on commit 223278b

Please sign in to comment.