Skip to content

Commit 9f10ff4

Browse files
authored
Update main_py_to_bitly.yml
1 parent 3a3f9c6 commit 9f10ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main_py_to_bitly.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
on:
33
push:
44
branches: [ master ]
5+
env:
6+
BITLY_ACCESS_TOKEN: ${{ secrets.wsapt-bitly.BITLY_ACCESS_TOKEN }}
57
jobs:
68
job1:
79
runs-on: ubuntu-latest
@@ -25,8 +27,6 @@
2527
run: echo "${{ env.path_of_main_py }}"
2628
- name: Create bit.ly short url
2729
shell: bash
28-
env:
29-
BITLY_ACCESS_TOKEN: ${{ secrets.BITLY_ACCESS_TOKEN }}
3030
run: |
3131
curl \
3232
-H 'Authorization: Bearer $BITLY_ACCESS_TOKEN' \

0 commit comments

Comments
 (0)