aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/deployment_promote.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deployment_promote.yml')
-rw-r--r--.github/workflows/deployment_promote.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/deployment_promote.yml b/.github/workflows/deployment_promote.yml
new file mode 100644
index 000000000..b7940f188
--- /dev/null
+++ b/.github/workflows/deployment_promote.yml
@@ -0,0 +1,21 @@
+name: deployment
+
+#always run on the default branch: master
+on:
+ schedule:
+ - cron: '04 04 * * *'
+
+env:
+ TERM: dumb
+ GRADLE_OPTS: "-Dorg.gradle.daemon=false --stacktrace"
+
+jobs:
+ promote-alpha:
+ runs-on: ubuntu-18.04
+ container: menny/android_base:1.13.6
+ steps:
+ - uses: actions/checkout@v2
+ - name: requets-pre-release-promote
+ run: |
+ ./gradlew :deployment:imePromoteMaster :deployment:addOnsPromoteMaster \
+ -PrequestDeploy.sha=${{ github.sha }} -PrequestDeploy.api_user_name=${{ secrets.BOT_MASTER_RW_GITHUB_USERNAME }} -PrequestDeploy.api_user_token=${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}