File tree 3 files changed +17
-11
lines changed
3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,21 @@ jobs:
10
10
build :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v3
14
- with :
15
- token : ${{ secrets.ADMIN_GITHUB_TOKEN }}
16
13
- name : Set up Python 3.9
17
14
uses : actions/setup-python@v4
18
15
with :
19
16
python-version : 3.9
20
- - name : Install dependencies
17
+ - name : Install system dependencies
21
18
run : |
22
19
python -m pip install --upgrade pip
23
20
python -m pip install pipenv
21
+ - uses : actions/checkout@v3
22
+ with :
23
+ token : ${{ secrets.ADMIN_GITHUB_TOKEN }}
24
+ - name : Install app dependencies
25
+ run : |
24
26
pipenv sync
25
- - name : Export token to env and run normalize script
27
+ - name : Run script with token in env
26
28
run : |
27
29
pipenv run ./normalize_repos.py
28
30
env :
Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v3
13
12
- name : Set up Python 3.9
14
13
uses : actions/setup-python@v4
15
14
with :
16
15
python-version : 3.9
17
- - name : Install dependencies
16
+ - name : Install system dependencies
18
17
run : |
19
18
python -m pip install --upgrade pip
20
19
python -m pip install pipenv
20
+ - uses : actions/checkout@v3
21
+ - name : Install app dependencies
22
+ run : |
21
23
pipenv sync
22
- - name : Export token to env and run script
24
+ - name : Run script with tokens in env
23
25
run : |
24
26
pipenv run ./push_data_to_ccos.py
25
27
env :
Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v3
13
12
- name : Set up Python 3.9
14
13
uses : actions/setup-python@v4
15
14
with :
16
15
python-version : 3.9
17
- - name : Install dependencies
16
+ - name : Install system dependencies
18
17
run : |
19
18
python -m pip install --upgrade pip
20
19
python -m pip install pipenv
20
+ - uses : actions/checkout@v3
21
+ - name : Install app dependencies
22
+ run : |
21
23
pipenv sync
22
- - name : Export token to env and run script
24
+ - name : Run script with tokens in env
23
25
run : |
24
26
pipenv run ./sync_community_teams.py
25
27
env :
You can’t perform that action at this time.
0 commit comments