Skip to content

Commit

Permalink
chore(github action): update
Browse files Browse the repository at this point in the history
  • Loading branch information
oflg committed Mar 4, 2024
1 parent 6ee1d69 commit d128a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:

- name: Deploy to tiddlyhost
env:
THOST_EMAIL: ${{ secrets.THOST_EMAIL }}
TH_EMAIL: ${{ secrets.TH_EMAIL }}
TH_PASSWORD: ${{ secrets.TH_PASSWORD }}
run: for file in $(find dist/empty -type f -regex ".*\.html"); do site=${file%.html}; site=${site#dist/empty/}; if [ "$site" == "index" ]; then site="tidme"; else site="tidme-${site,,}"; fi; ./bin/thost-uploader $site $file $THOST_EMAIL $TH_PASSWORD; done
run: for file in $(find dist/empty -type f -regex ".*\.html"); do site=${file%.html}; site=${site#dist/empty/}; if [ "$site" == "index" ]; then site="tidme"; else site="tidme-${site,,}"; fi; ./bin/thost-uploader $site $file $TH_EMAIL $TH_PASSWORD; done

- name: Release
env:
Expand Down

0 comments on commit d128a8b

Please sign in to comment.