mirror of
https://github.com/wmariuss/awesome-devops.git
synced 2024-12-23 06:09:32 -05:00
23 lines
407 B
YAML
23 lines
407 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.7
|
|
|
|
- name: Build and deploy
|
|
run: |
|
|
cp README.md docs/list.md
|
|
pip install -r requirements.txt
|
|
mkdocs build
|
|
mkdocs gh-deploy --force
|