Skip to content

Commit 765ad64

Browse files
committed
Add CI
1 parent c88359a commit 765ad64

File tree

3 files changed

+40
-5
lines changed

3 files changed

+40
-5
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build and Deploy MkDocs
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: '3.12'
18+
19+
- name: Install dependencies
20+
run: |
21+
pip install uv
22+
uv sync
23+
24+
- name: Build site
25+
run: |
26+
source .venv/bin/activate
27+
mkdocs build --clean
28+
29+
- name: Deploy to rocpy.github.io
30+
uses: peaceiris/actions-gh-pages@v4
31+
if: github.ref == 'refs/heads/main'
32+
with:
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
publish_branch: main
35+
external_repository: rocpy/rocpy.github.io
36+
publish_dir: ./site

docs/index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@ lifeblood, and algorithms our heartbeat._
1111

1212
---
1313

14-
RocPy is Rochester's local (and only!) Python user group. We exist to give
15-
others the opportunity to work and play with local Python developers, learners,
16-
employers, and enthusiasts. All skill levels are welcome, if you are interested
17-
in Python, join us!
14+
Hey there, Python enthusiasts! Welcome to RocPy, Rochester's very own Python user group. We're all about connecting with local Python developers, learners, employers, and enthusiasts. Whether you're a seasoned pro or just starting to explore the world of Python, we've got you covered.
1815

19-
We have monthly presentation series with 30-60 minutes presentations on topics of interest to the Python community.
16+
We host monthly presentation series where we share our knowledge and expertise on various Python-related topics. These sessions are usually around 30-60 minutes long and are open to all skill levels. So, if you're interested in learning more about Python or just want to chat with like-minded people, come join us!
2017

2118
<div class="calltoaction minimal">
2219
<div class="D_boxbody">

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ extra:
3535
link: https://github.com/RocPy
3636
- icon: fontawesome/solid/envelope
3737
link: mailto:org@rocpy.org
38+
- icon: fontawesome/brands/youtube
39+
link: https://www.youtube.com/@rocpy4
3840
markdown_extensions:
3941
- attr_list

0 commit comments

Comments
 (0)