fix issue confusing head vs base branch syntax (#377)

* fix issue confusing head vs base branch syntax

* try to add pr comments
This commit is contained in:
Logan McDonald 2023-01-20 14:02:39 -08:00 committed by GitHub
parent 76d2810a8a
commit bed87212d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 24 deletions

View file

@ -113,8 +113,8 @@ sed -i '' '/ - stable/ {a\
- '"$1"'
}' .github/workflows/migrate.yaml
sed -i '' '/ branches:/ {a\
- '"'$1/**'"'
sed -i '' '/${{startsWith(github.head_ref, / {a\
|| startsWith(github.head_ref, '"'$1'"')
}' .github/workflows/deploy-sandbox.yaml
echo "Creating space deployer for Github deploys..."