Skip to content

Commit fa99985

Browse files
committed
Testing new workflow.
1 parent 4a04337 commit fa99985

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/Deploy_site.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build MkDocs
2+
on:
3+
#pull_request:
4+
# branches:
5+
# - main
6+
push:
7+
branches:
8+
- robolancer_updates
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: 3.x
17+
- run: pip install -r requirements.txt
18+
- run: mkdocs build
19+
20+
deploy:
21+
environment:
22+
name: github-pages
23+
url: ${{ steps.deployment.outputs.page_url }}
24+
runs-on: ubuntu-latest
25+
needs: build
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: actions/setup-python@v2
29+
- uses: actions/deploy-pages@v4
30+
with:
31+
python-version: 3.x
32+
- run: pip install -r requirements.txt
33+
#- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)