po: add ci

This commit is contained in:
0xMRTT 2023-05-15 17:21:57 +00:00
parent 232337331a
commit 683aec6ae5
1 changed files with 10 additions and 0 deletions

View File

@ -21,3 +21,13 @@ pipeline:
- flatpak build-bundle repo bavarder.flatpak io.github.Bavarder.Bavarder
- ls -la
- curl --user $CI_REPO_OWNER:$ACCESS_TOKEN --upload-file bavarder.flatpak https://git.exozy.me/api/packages/$CI_REPO_OWNER/generic/$CI_REPO_NAME/$CI_BUILD_NUMBER/bavarder.flatpak
translate:
image: fish
secrets: [ access_token ]
commands:
- nix-env -iA nixpkgs.gettext
- fish_add_path ~/.nix-profile/bin
- bash po/update-pot.sh
- git add po/Bavarder.pot
- git commit -m "Update"
- git push origin main