Skip to content

Commit f70673e

Browse files
authored
Update main_py_to_bitly.yml
1 parent 2abfb8f commit f70673e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main_py_to_bitly.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
jobs:
66
job1:
77
runs-on: ubuntu-latest
8+
env:
9+
BITLY_ACCESS_TOKEN: ${{ secrets.BITLY_ACCESS_TOKEN }}
810
steps:
911
- name: get repo
1012
uses: actions/checkout@v4
@@ -31,5 +33,4 @@
3133
-X POST \
3234
-d '{"long_url": "${{ env.path_of_main_py }}"}' \
3335
https://api-ssl.bitly.com/v4/bitlinks
34-
env:
35-
BITLY_ACCESS_TOKEN: ${{ secrets.BITLY_ACCESS_TOKEN }}
36+

0 commit comments

Comments
 (0)