1
0
Fork 0
mirror of synced 2024-12-21 22:21:08 -05:00

Migrate from Travis-CI to GitHub Actions

This commit is contained in:
Tim Byrne 2020-11-22 16:14:54 -06:00
parent f2a69735b4
commit 70aaac7bd9
No known key found for this signature in database
GPG key ID: 14DB4FC2465A4B12
2 changed files with 20 additions and 16 deletions

20
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,20 @@
---
name: Test Site
on: # yamllint disable-line rule:truthy
- push
- pull_request
- workflow_dispatch
jobs:
Test-Site:
name: Test Site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: >-
docker create -t
--name yadm-website
--entrypoint test/validate
yadm/jekyll:2019-10-17;
docker cp ./ yadm-website:/srv/jekyll
- name: Test Site
run: docker start yadm-website -a

View file

@ -1,16 +0,0 @@
---
env:
- IMAGE="yadm/jekyll:2019-10-17"
language: minimal
services:
- docker
before_install:
- docker pull $IMAGE
- docker create -t --name yadm-website --entrypoint test/validate $IMAGE
- docker cp ./ yadm-website:/srv/jekyll
script:
- docker start yadm-website -a
branches: # necessary to force builds of gh-pages:
only:
- gh-pages
- "/.*/"