Update 2002-12-27-the-end-of-broadband.markdown #271
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Jekyll Build, Test and Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
bundle-build-test-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Set up Ruby, install and cache bundle | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Build site | |
run: bundle exec jekyll build | |
- name: Test site | |
run: bundle exec rake test | |
- name: Deploy with rsync | |
uses: burnett01/[email protected] | |
with: | |
switches: -avzr --delete | |
path: _site/ | |
remote_path: ${{ secrets.DEPLOY_PATH }} | |
remote_host: ${{ secrets.DEPLOY_HOST }} | |
remote_user: ${{ secrets.DEPLOY_USER }} | |
remote_key: ${{ secrets.DEPLOY_KEY }} |