Update update.yml

This commit is contained in:
Adam Dueck 2023-12-18 18:04:14 +04:00 committed by GitHub
parent 786e812b30
commit 578444e163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: commit dictionary content if updated - name: commit dictionary content if updated
run: | run: |
DICTIONARY_INFO_URL="https://storage.googleapis.com/lingdocs/dictionary-info.json" DICTIONARY_INFO_URL="https://storage.lingdocs.com/dictionary/dictionary-info.json"
PUBLISHED=`curl $DICTIONARY_INFO_URL | jq .release` PUBLISHED=`curl $DICTIONARY_INFO_URL | jq .release`
IN_REPO=`cat dictionary-info.json | jq .release` IN_REPO=`cat dictionary-info.json | jq .release`
if [ $IN_REPO = $PUBLISHED ]; then if [ $IN_REPO = $PUBLISHED ]; then