awesome-devops/.github/workflows/deploy.yml

23 lines
409 B
YAML
Raw Normal View History

2022-01-21 02:52:18 -05:00
name: Deploy
on:
push:
branches:
2022-01-21 02:59:07 -05:00
- master
2022-01-21 02:52:18 -05:00
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
2022-01-21 02:52:18 -05:00
with:
python-version: 3.7
- name: Build and deploy
run: |
cp README.md docs/list.md
2022-01-21 02:52:18 -05:00
pip install -r requirements.txt
mkdocs build
mkdocs gh-deploy --force