diff --git a/.woodpecker/finish.yml b/.woodpecker/finish.yml new file mode 100644 index 00000000..498e063c --- /dev/null +++ b/.woodpecker/finish.yml @@ -0,0 +1,21 @@ +depends_on: + - build + - locale + +run_on: [ success, failure ] +skip_clone: true + +pipeline: + discord: + image: appleboy/drone-discord + settings: + message: "{{#success build.status}} āœ… Build #{{build.number}} of `{{repo.name}}` succeeded.\n\nšŸ“ Commit by {{commit.author}}:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{else}} āŒ Build #{{build.number}} of `{{repo.name}}` failed.\n\nšŸ“ Commit by {{commit.author}}:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{/success}}\n" + webhook_id: + from_secret: + DISCORD_BOT_ID + webhook_token: + from_secret: + DISCORD_BOT_SECRET + when: + event: [ push ] + branch: main diff --git a/.woodpecker/locale.yml b/.woodpecker/locale.yml index 6d2799e3..f320e777 100644 --- a/.woodpecker/locale.yml +++ b/.woodpecker/locale.yml @@ -9,4 +9,4 @@ pipeline: when: event: [ push, tag ] branch: main - path: [ app/src/main/res/values/strings.xml, fastlane/metadata/android/en-US/*.txt ] + path: [ app/src/main/res/values/strings.xml, fastlane/metadata/android/en-US/*.txt, fastlane/metadata/android/en-US/changelogs/*.txt ]