feat: checkout correct branch on close (#1123)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Refined our deployment process to ensure staging updates now reflect
the fully merged changes.
	- Made minor formatting tweaks for improved clarity.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Eli Bosley
2025-02-06 12:53:00 -05:00
committed by GitHub
parent 4f5c367fdf
commit e7b7caae43

View File

@@ -18,6 +18,8 @@ jobs:
timezoneLinux: "America/Los_Angeles" timezoneLinux: "America/Los_Angeles"
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- name: Download artifact - name: Download artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
@@ -31,7 +33,7 @@ jobs:
echo "ERROR: dynamix.unraid.net.pr.plg not found" echo "ERROR: dynamix.unraid.net.pr.plg not found"
exit 1 exit 1
fi fi
plgfile="connect-files/plugins/dynamix.unraid.net.pr.plg" plgfile="connect-files/plugins/dynamix.unraid.net.pr.plg"
version=$(date +"%Y.%m.%d.%H%M") version=$(date +"%Y.%m.%d.%H%M")
sed -i -E "s#(<!ENTITY version \").*(\">)#\1${version}\2#g" "${plgfile}" || exit 1 sed -i -E "s#(<!ENTITY version \").*(\">)#\1${version}\2#g" "${plgfile}" || exit 1