Skip to content

Commit 6e1359b

Browse files
committed
Migrate the CI and deployment to GitHub Actions.
1 parent 484dc4d commit 6e1359b

File tree

3 files changed

+46
-14
lines changed

3 files changed

+46
-14
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Ruby
15+
uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: 2.4.4
18+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
19+
- name: Build
20+
run: bundle exec jekyll build

.github/workflows/deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up Ruby
12+
uses: ruby/setup-ruby@v1
13+
with:
14+
ruby-version: 2.4.4
15+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
16+
- name: Build
17+
run: bundle exec jekyll build
18+
- name: Deploy
19+
uses: burnett01/rsync-deployments@4.1
20+
with:
21+
switches: -avz
22+
path: _site/
23+
remote_path: www/
24+
remote_host: ${{ secrets.DEPLOY_HOST }}
25+
remote_user: ${{ secrets.DEPLOY_USER }}
26+
remote_key: ${{ secrets.DEPLOY_KEY }}

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy