-
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try fix using enviroments in github workflow
- Loading branch information
Showing
2 changed files
with
13 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,12 @@ jobs: | |
main: | ||
runs-on: windows-latest | ||
env: | ||
TOLGEE_KEY: '${{ secrets.TOLGEE_TOKEN }}' | ||
GIT_KEY: '${{ secrets.GIT_TOKEN }}' | ||
TOLGEE_KEY: '${{ secrets.TOLGEE_TOKEN }}' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
panther7
Author
Contributor
|
||
- name: Download tolgee translations | ||
run: | | ||
mkdir tempfolder | ||
cd tempfolder/ | ||
git clone https://${Env:GIT_KEY}@github.com/martinet101/ElevenClock/ | ||
cd ElevenClock/elevenclock/lang | ||
cd elevenclock/lang | ||
git config user.name "Tolgee bot" | ||
git config user.email "noemail@github.com" | ||
python download_translations.py --autocommit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This does not work since branch protection is enabled.