Skip to content

Commit 9a63603

Browse files
committed
Switch from Travis to GitHub Actions
1 parent 234b520 commit 9a63603

2 files changed

Lines changed: 24 additions & 20 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy blog
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Set up Python 3.8
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.8
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip wheel setuptools
20+
python -m pip install -r requirements.txt
21+
- name: Lint
22+
run: blog lint
23+
- name: Deploy
24+
run: blog deploy

.travis.yml

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

0 commit comments

Comments
 (0)