Skip to content

Merge pull request #634 from shardulc/patch-1 #81

Merge pull request #634 from shardulc/patch-1

Merge pull request #634 from shardulc/patch-1 #81

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 }}