feat(ci): push directly to main branch on vega.xyz
This commit is contained in:
parent
0358ce6293
commit
15d6ea0c05
16
.github/workflows/publish-dist.yml
vendored
16
.github/workflows/publish-dist.yml
vendored
@ -216,12 +216,12 @@ jobs:
|
||||
git add interstitial-allow.json netlify.toml
|
||||
commit_msg="feat(ci): Update CID for console release @ ${{ github.ref }}"
|
||||
git commit -m "${commit_msg}"
|
||||
# git push origin main
|
||||
git push origin main
|
||||
|
||||
branch_name=${{ github.ref_name }}-hash-update
|
||||
git checkout -b "${branch_name}"
|
||||
git add interstitial-allow.json netlify.toml
|
||||
git push -u origin "${branch_name}"
|
||||
pr_url="$(gh pr create --title "${commit_msg}" --body 'update ipfs hash for console @ ${{ github.ref }}')"
|
||||
echo $pr_url
|
||||
gh pr merge --admin --auto $pr_url
|
||||
# branch_name=${{ github.ref_name }}-hash-update
|
||||
# git checkout -b "${branch_name}"
|
||||
# git add interstitial-allow.json netlify.toml
|
||||
# git push -u origin "${branch_name}"
|
||||
# pr_url="$(gh pr create --title "${commit_msg}" --body 'update ipfs hash for console @ ${{ github.ref }}')"
|
||||
# echo $pr_url
|
||||
# gh pr merge --admin --auto $pr_url
|
||||
|
Loading…
Reference in New Issue
Block a user