diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000000000000000000000000000000000000..9e8f1f48b48abd921c01e51f3943df9da70c66fb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +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 }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b9ec906e73f428ac9ab8bb514f0d300356e07960..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -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