forked from Election-Tech-Initiative/electionguard
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 913 Bytes
/
release.yml
File metadata and controls
38 lines (35 loc) · 913 Bytes
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
37
38
name: Release Build
on:
push:
branches:
- main
env:
PYTHON_VERSION: 3.8
jobs:
publish:
name: Publish Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Change Directory
run: cd ${{ github.workspace }}
- name: Install MkDocs
run: make install
- name: Deploy
run: make deploy
- name: Zip Sample Data
run: make release-zip-sample-data
- name: Publish Sample Data
uses: actions/upload-artifact@v2
with:
name: sample-data
path: sample-data.zip
- name: Sync Labels
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.LABEL_TOKEN }}
run: make labels