Updates #55
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
# https://github.com/github/branch-deploy/blob/d3c24bd92505e623615b75ffdfac5ed5259adbdb/docs/unlock-on-merge.md | |
name: Unlock On Merge | |
on: | |
pull_request: | |
types: [closed] | |
permissions: | |
contents: write | |
jobs: | |
unlock-on-merge: | |
runs-on: ubuntu-latest | |
# Gate this job to only run when the pull request is merged (not closed) | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-pull_request-workflow-when-a-pull-request-merges | |
if: github.event.pull_request.merged == true | |
steps: | |
- name: unlock on merge | |
uses: github/branch-deploy@v8.1.1 | |
id: unlock-on-merge | |
with: | |
unlock_on_merge_mode: "true" # <-- indicates that this is the "Unlock on Merge Mode" workflow | |
environment_targets: "github-pages" |