Skip to content

Commit 07cb4ed

Browse files
authored
Switch to GitHub Actions (#32)
* Create main.yml * destination: ./build * Delete .travis.yml
1 parent f35730e commit 07cb4ed

File tree

3 files changed

+22
-15
lines changed

3 files changed

+22
-15
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Jekyll deploy
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ main ]
10+
11+
jobs:
12+
build_and_deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Build & Deploy to GitHub Pages
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
20+
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
21+
uses: BryanSchuetz/jekyll-deploy-gh-pages@c65ae23c7f03c25370004f16cba53110df1a4da4

.travis.yml

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

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pagination:
3737
permalink: /blog/:num/
3838
sort_field: 'date'
3939
sort_reverse: true
40+
destination: ./build
4041

4142
# Exclude from processing.
4243
# The following items will not be processed, by default. Create a custom list

0 commit comments

Comments
 (0)