Skip to content

Manual Trigger Canary Release #62

Manual Trigger Canary Release

Manual Trigger Canary Release #62

## Trigger Canary Release
name: Manual Trigger Canary Release
on:
workflow_dispatch:
inputs:
repo_name:
default: master
required: true
jobs:
trigger_canary:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PLAYER_GITHUB_BOT_TOKEN }}
- name: Setup Git
run: |
git config --global user.email ${{ secrets.PLAYER_BOT_EMAIL }}
git config --global user.name ${{ secrets.PLAYER_BOT_USER }}
- name: Commit and Push
run: |
set +e
git commit --no-verify --allow-empty -m "chore: trigger build"
set -e
git push origin HEAD:master