aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/deployment_promote.yml
blob: 39282fe8ad24fb136e82669b4dc5b06a6101723e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: deployment-promote

on:
  schedule:
    - cron: '04 04 * * *'

env:
  TERM: dumb
  GRADLE_OPTS: "-Dorg.gradle.daemon=false --stacktrace"

jobs:
  promote:
    runs-on: ubuntu-18.04
    container: menny/android_base:1.13.7
    strategy:
      matrix:
        refname: [master, release-branch-ime-v1.10-r4, release-branch-addons-v4.0-r1]
      fail-fast: false
    steps:
      - uses: actions/checkout@v2
        with:
          - ref: ${{ matrix.refname }}
      - name: request-scheduled-promote
        uses: ./.github/actions/deploy-request
        with:
          sha: ${{ github.sha }}
          ref: ${{ github.ref }}
          new_deploy: false
          api_username: ${{ secrets.BOT_MASTER_RW_GITHUB_USERNAME }}
          api_token: ${{ secrets.BOT_MASTER_RW_GITHUB_TOKEN }}