Skip to content

Commit ac4a6df

Browse files
authored
Migrate from Travis to Github Actions (#20)
1 parent 7dd6d87 commit ac4a6df

File tree

4 files changed

+43
-21
lines changed

4 files changed

+43
-21
lines changed

.github/workflows/cd.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CD
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
linters:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: '12'
17+
- run: npm install
18+
- run: npm run deploy
19+
with:
20+
env:
21+
TRAVIS_REPO_SLUG: ascoderu/ascoderu.github.io
22+
GITHUB_TOKEN: ${{ secrets.GH_PAGES_TOKEN }}

.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+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
10+
jobs:
11+
linters:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: '12'
19+
- run: npm install
20+
- run: npm run lint

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ascoderu.github.io
22

3-
[![Travis CI status](https://api.travis-ci.org/ascoderu/ascoderu.github.io.svg?branch=development)](https://travis-ci.org/ascoderu/ascoderu.github.io)
3+
[![CI](https://github.com/ascoderu/ascoderu.github.io/workflows/CI/badge.svg)](https://github.com/ascoderu/ascoderu.github.io/actions)
44

55
Public information site for Ascoderu, hosted via Github-Pages and Cloudflare at [ascoderu.ca](https://ascoderu.ca).
66

0 commit comments

Comments
 (0)