mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-01-30 17:35:16 +07:00
added build action for website
This commit is contained in:
parent
631f66f835
commit
0b007a5108
21
.github/workflows/build-deploy-website.yml
vendored
Normal file
21
.github/workflows/build-deploy-website.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: build and deploy website
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- gh_pages
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.x
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
key: ${{ github.ref }}
|
||||
path: .cache
|
||||
- run: pip install mkdocs-material
|
||||
- run: mkdocs gh-deploy --force
|
Loading…
Reference in New Issue
Block a user