-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Downloading translations and ignoring branch at Crowdin #2592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
73041f3
6e178ea
593fae2
1db4eab
9d36fac
514006a
e89bb7e
8863e74
f42dbdb
32ca299
1ec4dc6
4ccb0fe
c25303b
f3833b7
c7f4f07
a75d5c7
c1b0c9e
9e865ce
33647aa
f4190f8
af4a094
dc4b941
6c95098
baebafe
fe8c55f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,31 @@ clone: | |
tags: true | ||
|
||
pipeline: | ||
download_translations: | ||
image: jonasfranz/crowdin | ||
pull: true | ||
secrets: [ crowdin_key ] | ||
project_identifier: gitea | ||
ignore_branch: true | ||
download: true | ||
export_dir: options/locale/ | ||
when: | ||
event: [ push ] | ||
branch: [ master ] | ||
|
||
git_push: | ||
image: appleboy/drone-git-push | ||
pull: true | ||
secrets: [ git_push_ssh_key ] | ||
remote: "[email protected]:go-gitea/gitea.git" | ||
branch: master | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The branch should be already master? |
||
force: false | ||
commit: true | ||
commit_message: "[skip ci] Updated translations via Crowdin" | ||
when: | ||
event: [ push ] | ||
branch: [ master ] | ||
|
||
pre-build: | ||
image: webhippie/nodejs:latest | ||
pull: true | ||
|
@@ -17,6 +42,7 @@ pipeline: | |
- make stylesheets-check | ||
when: | ||
event: [ push, tag, pull_request ] | ||
|
||
build: | ||
image: webhippie/golang:edge | ||
pull: true | ||
|
@@ -211,8 +237,16 @@ pipeline: | |
when: | ||
event: [ push ] | ||
branch: [ master ] | ||
|
||
translations: | ||
|
||
github: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This section seems not related? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @JonasFranzDEV why this section is needed here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @daviian What should I do for a "full rebase"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @JonasFranzDEV Usually I rebase my master to be the same as upstream/master (original gitea remote) and after checking out my pr branch I do it like @Morlinest said. |
||
image: plugins/github-release:1 | ||
pull: true | ||
files: | ||
- dist/release/* | ||
when: | ||
event: [ tag ] | ||
|
||
upload_translations: | ||
image: jonasfranz/crowdin | ||
pull: true | ||
secrets: [ crowdin_key ] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't need the remote