Skip to content

Merge pull request #644 from felher/patch-2 #87

Merge pull request #644 from felher/patch-2

Merge pull request #644 from felher/patch-2 #87

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.5
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Build
run: bundle exec jekyll build
- name: Deploy
uses: burnett01/[email protected]
with:
switches: -avz
path: _site/
remote_path: www/
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}