Unverified Commit e0138b1d authored by Mark Meredith's avatar Mark Meredith Committed by GitHub
Browse files

Merge pull request #9 from mwm126/master

Migrate from Travis CI to Github Actions
parents 2ecbd8dd 331d3032
Loading
Loading
Loading
Loading
+29 −0
Changes for .github/workflows/build.yml: 29 added lines, 0 removed lines.
Original line number Diff line number Diff line
name: Build-and-Deploy

# Run this workflow every time a new commit pushed to your repository
on: push

jobs:
  # Set the job key. The key is displayed as the job name
  # when a job name is not provided
  super-lint:
    # Name the Job
    name: Build Sphinx manual HTML target
    # Set the type of machine to run on
    runs-on: ubuntu-latest

    steps:
      - name: Install Doxygen
        run: sudo apt install doxygen

      - name: Install Sphinx
        run: pip install sphinx sphinx-rtd-theme

      - name: Checkout code
        uses: actions/checkout@v2

      - name: Build MFiX-Exa HTML manual
        run: make -C docs
        env:
          DEFAULT_BRANCH: main
          GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}

.travis.yml

deleted100644 → 0
+0 −31
Changes for .travis.yml: 0 added lines, 31 removed lines.
Original line number Diff line number Diff line
dist: xenial

language: generic

python:
  - 3.6

install:
  - python -m pip install --user sphinx sphinx-rtd-theme

script: bash ./build_and_deploy.sh

env:
  global:
  - COMMIT_AUTHOR_EMAIL: "jpblaschke@lbl.gov"

addons:
  apt:
    packages:
      - doxygen

deploy:
  provider: pages
  target-branch: gh-pages
  local-dir: docs/webroot
  skip-cleanup: true
  github-token: $GITHUB_TOKEN  # Set in travis-ci.org dashboard, marked secure
  keep-history: true
  verbose: true
  on:
    branch: master