mirror of https://github.com/Bunsly/JobSpy
change tag format
parent
971feab94a
commit
55643f40f8
|
@ -35,7 +35,9 @@ jobs:
|
|||
tags: ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME_LOWER }}/jobspy_api:latest
|
||||
|
||||
- name: Set Release Tag Name
|
||||
run: echo "RELEASE_TAG=${{ github.ref }}-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
|
||||
run: |
|
||||
TAG_NAME=$(echo ${{ github.ref }} | sed -e 's/refs\/heads\///' -e 's/\//-/g')
|
||||
echo "RELEASE_TAG=${TAG_NAME}-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
|
|
|
@ -26,7 +26,9 @@ class CSVFormatter:
|
|||
|
||||
secret_dict = json.loads(GSHEET_SECRET_JSON)
|
||||
|
||||
credentials = Credentials.from_service_account_info(secret_dict, scopes=scope)
|
||||
credentials = Credentials.from_service_account_info(
|
||||
secret_dict, scopes=scope
|
||||
)
|
||||
|
||||
gc = gspread.authorize(credentials)
|
||||
sh = gc.open(GSHEET_NAME)
|
||||
|
|
Loading…
Reference in New Issue