Skip to content

Merge pull request #3 from asfadmin/test #3

Merge pull request #3 from asfadmin/test

Merge pull request #3 from asfadmin/test #3

name: Deploy to Github.io
on:
push:
branches:
- prod
workflow_dispatch:
jobs:
build_and_deploy:
name: Build site and deploy
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
with:
path: Discovery-MkDocs
- name: Setup Python
run: |
python -m pip install --upgrade pip
python -m pip install -r Discovery-MkDocs/requirements.txt
# - name: deploy to github.io
# if: github.ref == 'refs/heads/prod'
# shell: bash -l {0}
# run: |
# echo $PWD
# cd asf-data-search-manual
# ls -l
# python -m mkdocs gh-deploy --force