forked from mattiasnordin/StataEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 896 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: ci
on:
workflow_dispatch:
push:
branches:
- master
- main
- docs
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout docs
uses: actions/checkout@v3
with:
ref: docs
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: cache dependencies
uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- name: build docs
run: |
pip install mkdocs-material
npm install -g badge-maker
TOKEN=${{ secrets.INSIGHTS_TOKEN }} python get_traffic.py
mkdocs gh-deploy --force