forked from KAT-Advanced-Medical/KAM
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 866 Bytes
/
Copy pathdocumentation.yml
File metadata and controls
34 lines (30 loc) · 866 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
name: Documentation
on:
push:
branches:
- dev-Tomcat
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v3
- name: Install Python packages
run: |
pip3 install wheel
pip3 install setuptools
pip3 install pygithub
pip3 install pygithub3
- name: Update Translation issue
if: github.repository == 'KAT-Advanced-Medical/KAM' && ! contains(github.event.head_commit.message, '[ci skip]')
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python3 tools/deploy.py
draft:
runs-on: ubuntu-latest
steps:
- name: Release Drafter
if: github.repository == 'KAT-Advanced-Medical/KAM'
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}