mirror of
https://github.com/bitwarden/server.git
synced 2025-02-22 02:51:33 +01:00
Retro Action Item: Moving rc branch check (#1543)
* removing branch check on the deploy and forcing the rc branch * adding the branch check back in for the manual release portion * removing the old branch check * removing the unneeded branch check
This commit is contained in:
parent
e1908cd6b5
commit
ff752fe562
11
.github/workflows/prod-deploy.yml
vendored
11
.github/workflows/prod-deploy.yml
vendored
@ -17,17 +17,10 @@ jobs:
|
||||
package_version: ${{ steps.create_tags.outputs.package_version }}
|
||||
tag_version: ${{ steps.create_tags.outputs.tag_version }}
|
||||
steps:
|
||||
- name: Branch check
|
||||
run: |
|
||||
if [[ "$GITHUB_REF" != "refs/heads/rc" ]]; then
|
||||
echo "==================================="
|
||||
echo "[!] Can only deploy from rc branch"
|
||||
echo "==================================="
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
with:
|
||||
ref: rc
|
||||
|
||||
- name: Create Deploy version vars
|
||||
id: create_tags
|
||||
|
Loading…
Reference in New Issue
Block a user