-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (31 loc) · 1019 Bytes
/
Copy pathpythonpackage.yml
File metadata and controls
35 lines (31 loc) · 1019 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
name: 💫 YGitBook Integration
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v1
- name: 🏗️ Python ${{ matrix.python-version }} kurulması
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: 📦 Bağımlılıkların kurulması
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: 💫 GitBook uyumluluğunun sağlanması
run: |
ygitbookintegration .
- name: 🔀 Değişiklerin commit edilmesi
run: |
git config --local user.email "yedhrab@gmail.com"
git config --local user.name "yedhrab"
echo `git add -A && git commit -m "💫 GitBook entegrasyonu yapıldı"`
- name: 🎉 GitHub push işlemi
uses: ad-m/github-push-action@v0.5.0
with:
github_token: ${{ secrets.YGITBOOK_INTEGRATION }}