Skip to content

Add 4.79

Add 4.79 #37

Workflow file for this run

name: Build and deploy Jekyl
on:
push:
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
# Standard usage
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Build with Jekyll
run: bundle exec jekyll build
env:
JEKYLL_ENV: production
- name: check
run: ls ./_site/
- name: Install SSH Key
if: ${{ github.ref == 'refs/heads/master' }}
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: deploy
if: ${{ github.ref == 'refs/heads/master' }}
run: rsync -avz --quiet ./_site/ web@${{ secrets.SSH_HOST }}:/var/www/