Skip to content

Commit 3bd7926

Browse files
committed
Migrate from Travis to GitHub Actions
1 parent fb529d0 commit 3bd7926

File tree

7 files changed

+35
-28
lines changed

7 files changed

+35
-28
lines changed

.github/actions/initialize/action.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 'Initialize'
2+
description: 'Checkout repo and install dependencies'
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Check out repository code
7+
uses: actions/checkout@v4
8+
- name: Upgrade pip
9+
run: python -m pip install --upgrade pip
10+
shell: bash
11+
- name: Install documentation building framework
12+
run: pip install mkdocs
13+
shell: bash

.github/workflows/deploy-docs.yml

Whitespace-only changes.

.github/workflows/repo-checks.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: PR Checks
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- master
8+
9+
jobs:
10+
check-docs:
11+
name: Check docs for warnings
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Initialize the environment
15+
uses: CitrineInformatics/common-gh-actions/.github/actions/initialize@v1
16+
with:
17+
documentation: 'true'
18+
- name: Build Docs
19+
run: mkdocs build --strict --verbose

.travis.yml

-17
This file was deleted.

CODEOWNERS

-9
This file was deleted.

CONTRIBUTING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ We have adopted the following style guidelines:
99

1010
## Deploying docs to Github Pages Site
1111

12-
We're currently using TravisCI to deploy to Github Pages. To update the GH_SECRET_TOKEN environment variable referenced in the `.travis.yml` file, follow the [TravisCI documentation](https://docs.travis-ci.com/user/deployment/pages/). Only master docs can be deployed to the documentation site.
12+
We're currently using GitHub Actions to deploy to Github Pages.
13+
The docs on the master branch are automatically deployed to the documentation site.
1314

1415
## Building the Docs Locally
1516

mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ markdown_extensions:
88
permalink: True
99

1010
extra:
11-
version: 0.1
11+
version: 0.2

0 commit comments

Comments
 (0)