Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
Move to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Mar 15, 2020
1 parent 106fbde commit ae02846
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 16 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deployment.yml
@@ -0,0 +1,25 @@
name: Deployment

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install Frontend Dependencies
run: cd ui && npm ci
- name: Build Frontend
run: cd ui && npm run build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./ui/dist
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,17 @@
name: Test Build

on: pull_request

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install Frontend Dependencies
run: cd ui && npm ci
- name: Build Frontend
run: cd ui && npm run build
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

0 comments on commit ae02846

Please sign in to comment.