CS224W Course Notes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
341 B

  1. TEMPDIR := $(shell mktemp -d -t tmp.XXX)
  2. publish:
  3. echo 'publishing site!'
  4. cp -r ./_site/* $(TEMPDIR)
  5. cd $(TEMPDIR) && \
  6. ls -a && \
  7. git init && \
  8. git add . && \
  9. git commit -m 'publish site' && \
  10. git remote add origin https://https://github.com/snap-stanford/cs224w-notes.git && \
  11. git push origin master:refs/heads/gh-pages --force