Skip to content

Commit ed94c2f

Browse files
committed
modify: github action 수정
1 parent 97ed4a9 commit ed94c2f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/worker_main.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: checkout repo content
14+
- name: Checkout repo content
1515
uses: actions/checkout@v2
1616

17-
- name: setup python
17+
- name: Setup python
1818
uses: actions/setup-python@v4
1919
with:
2020
python-version: "3.10"
2121

22-
- name: install python packages
22+
- name: Install python packages
2323
run: |
2424
python -m pip install --upgrade pip
2525
pip install aiohttp
@@ -29,8 +29,12 @@ jobs:
2929
pip install aiohttp-retry
3030
pip install python-dotenv
3131
32-
- name: execute data scrapping
32+
- name: Change to the script directory
33+
run: cd velog-dashboard/worker
34+
35+
- name: Execute data scrapping
3336
env:
37+
pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
3438
DB_URL: ${{ secrets.DB_URL }}
3539
PERIOD_MIN: ${{ secrets.PERIOD_MIN }}
3640

0 commit comments

Comments
 (0)