My personal website and blog.
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.

.build.yml 605B

123456789101112131415161718192021222324252627
  1. image: debian/stretch
  2. packages:
  3. - rsync
  4. - ruby
  5. - ruby-dev
  6. - zlib1g-dev
  7. sources:
  8. - https://git.sr.ht/~mjorgensen/jrgnsn.net
  9. environment:
  10. deploy: deploy@jrgnsn.net
  11. secrets:
  12. - 65617e27-4d70-4a57-9688-22a2fe0bc6c0
  13. triggers:
  14. - action: email
  15. condition: always
  16. to: notify@jrgnsn.net
  17. tasks:
  18. - setup: |
  19. sudo gem install bundler github-pages -N
  20. - build: |
  21. cd jrgnsn.net
  22. bundle install
  23. bundle exec jekyll build
  24. - deploy: |
  25. cd jrgnsn.net
  26. sshopts="-o StrictHostKeyChecking=no"
  27. rsync --rsh="ssh $sshopts" -rP _site/ ${deploy}:/var/www/jrgnsn.net/