Skip to content

Commit 86f6180

Browse files
committed
added the build action
1 parent 86f2358 commit 86f6180

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/build.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: xu-cheng/texlive-action@d9f893f837a29f066e3c70080540976b47263721
14+
with:
15+
scheme: full
16+
run: |
17+
apk add cargo gcc linux-headers musl-dev py3-pip python3 python3-dev rust
18+
./make.sh
19+
# deploy to github pages
20+
- name: deploy documentation
21+
uses: JamesIves/github-pages-deploy-action@94f3c658273cf92fb48ef99e5fbc02bd2dc642b2
22+
with:
23+
branch: gh-pages
24+
folder: /home/runner/work/programmingWithPythonSlides/programmingWithPythonSlides/website/
25+
single-commit: true

0 commit comments

Comments
 (0)