We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9a3841 commit 1e9d89bCopy full SHA for 1e9d89b
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,23 @@
1
+name: Build and Deploy
2
+on:
3
+ repository_dispatch:
4
+ types: [curriculum_updated]
5
+ push:
6
+ branches: [main]
7
+
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - name: Clone Curriculum
14
+ run: git clone https://github.com/razorblade23/the-python-ledger.git ../the-python-ledger
15
+ - name: Install and Build
16
+ run: |
17
+ npm install
18
+ npm run build
19
+ - name: Deploy
20
+ uses: peaceiris/actions-gh-pages@v3
21
+ with:
22
+ github_token: ${{ secrets.GITHUB_TOKEN }}
23
+ publish_dir: ./build
0 commit comments