Skip to content

Commit b1564d7

Browse files
committed
add files
1 parent a2af93c commit b1564d7

File tree

6 files changed

+207
-2
lines changed

6 files changed

+207
-2
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build and Deploy Bota
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'bota/**'
8+
9+
jobs:
10+
build-and-deploy:
11+
permissions:
12+
contents: write
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
with:
19+
persist-credentials: false
20+
fetch-depth: 0
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.x'
26+
27+
- name: Install build tools
28+
run: |
29+
python -m pip install --upgrade pip
30+
python -m pip install twine setuptools
31+
32+
- name: Build and Push
33+
run: |
34+
npm run upload -- -u __token__ -p ${{ secrets.PYPI_TOKEN }}
35+
working-directory: bota
36+
37+
- name: Commit & Push changes
38+
uses: actions-js/push@master
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
branch: master
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build and Deploy Botasaurus API
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'botasaurus_api/**'
8+
9+
jobs:
10+
build-and-deploy:
11+
permissions:
12+
contents: write
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
with:
19+
persist-credentials: false
20+
fetch-depth: 0
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.x'
26+
27+
- name: Install build tools
28+
run: |
29+
python -m pip install --upgrade pip
30+
python -m pip install twine setuptools
31+
32+
- name: Build and Push
33+
run: |
34+
npm run upload -- -u __token__ -p ${{ secrets.PYPI_TOKEN }}
35+
working-directory: botasaurus_api
36+
37+
- name: Commit & Push changes
38+
uses: actions-js/push@master
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
branch: master
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build and Deploy Botasaurus HumanCursor
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'botasaurus_humancursor/**'
8+
9+
jobs:
10+
build-and-deploy:
11+
permissions:
12+
contents: write
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
with:
19+
persist-credentials: false
20+
fetch-depth: 0
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.x'
26+
27+
- name: Install build tools
28+
run: |
29+
python -m pip install --upgrade pip
30+
python -m pip install twine setuptools
31+
32+
- name: Build and Push
33+
run: |
34+
npm run upload -- -u __token__ -p ${{ secrets.PYPI_TOKEN }}
35+
working-directory: botasaurus_humancursor
36+
37+
- name: Commit & Push changes
38+
uses: actions-js/push@master
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
branch: master

.github/workflows/deploy-botasaurus-py.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Build and Deploy Botasaurus
33
on:
44
push:
55
branches: [ master ]
6-
# paths:
7-
# - 'botasaurus/botasaurus/**'
6+
paths:
7+
- 'botasaurus/botasaurus/**'
88

99
jobs:
1010
build-and-deploy:
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build and Deploy Botasaurus Server
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'botasaurus_server/**'
8+
9+
jobs:
10+
build-and-deploy:
11+
permissions:
12+
contents: write
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
with:
19+
persist-credentials: false
20+
fetch-depth: 0
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.x'
26+
27+
- name: Install build tools
28+
run: |
29+
python -m pip install --upgrade pip
30+
python -m pip install twine setuptools
31+
32+
- name: Build and Push
33+
run: |
34+
npm run upload -- -u __token__ -p ${{ secrets.PYPI_TOKEN }}
35+
working-directory: botasaurus_server
36+
37+
- name: Commit & Push changes
38+
uses: actions-js/push@master
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
branch: master
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build and Deploy Close Chrome
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'close_chrome/**'
8+
9+
jobs:
10+
build-and-deploy:
11+
permissions:
12+
contents: write
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
with:
19+
persist-credentials: false
20+
fetch-depth: 0
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.x'
26+
27+
- name: Install build tools
28+
run: |
29+
python -m pip install --upgrade pip
30+
python -m pip install twine setuptools
31+
32+
- name: Build and Push
33+
run: |
34+
npm run upload -- -u __token__ -p ${{ secrets.PYPI_TOKEN }}
35+
working-directory: close_chrome
36+
37+
- name: Commit & Push changes
38+
uses: actions-js/push@master
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
branch: master

0 commit comments

Comments
 (0)