Update branch-deploy.yml #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unlock On Merge | |
on: | |
pull_request: | |
types: [closed] | |
permissions: | |
contents: write | |
jobs: | |
unlock-on-merge: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true | |
steps: | |
- name: unlock on merge | |
uses: github/branch-deploy@v9 | |
id: unlock-on-merge | |
with: | |
unlock_on_merge_mode: "true" # <-- indicates that this is the "Unlock on Merge Mode" workflow | |
environment_targets: production |