fix(ci): pr creation adjust
This commit is contained in:
parent
91ac977704
commit
8c4aa41240
13
.github/workflows/publish-dist.yml
vendored
13
.github/workflows/publish-dist.yml
vendored
@ -220,10 +220,16 @@ jobs:
|
|||||||
new_hash=$(cat ${{ matrix.app }}-ipfs-hash)
|
new_hash=$(cat ${{ matrix.app }}-ipfs-hash)
|
||||||
new_cid=$(ipfs cid format -v 1 -b base32 $new_hash)
|
new_cid=$(ipfs cid format -v 1 -b base32 $new_hash)
|
||||||
|
|
||||||
cd ipfs-redirect
|
ls -al ipfs-redirect
|
||||||
echo $new_hash > cidv0.txt
|
|
||||||
echo $new_cid > cidv1.txt
|
|
||||||
|
|
||||||
|
echo $new_hash > ipfs-redirect/cidv0.txt
|
||||||
|
echo $new_cid > ipfs-redirect/cidv1.txt
|
||||||
|
|
||||||
|
(
|
||||||
|
cd ipfs-redirect
|
||||||
|
|
||||||
|
git status
|
||||||
|
cat .git/config
|
||||||
git config --global user.email "vega-ci-bot@vega.xyz"
|
git config --global user.email "vega-ci-bot@vega.xyz"
|
||||||
git config --global user.name "vega-ci-bot"
|
git config --global user.name "vega-ci-bot"
|
||||||
|
|
||||||
@ -238,6 +244,7 @@ jobs:
|
|||||||
# once auto merge get's enabled on documentation repo let's do follow up
|
# once auto merge get's enabled on documentation repo let's do follow up
|
||||||
sleep 5
|
sleep 5
|
||||||
gh pr merge "${pr_url}" --delete-branch --squash --admin
|
gh pr merge "${pr_url}" --delete-branch --squash --admin
|
||||||
|
)
|
||||||
|
|
||||||
# # Generate console URL
|
# # Generate console URL
|
||||||
# new_console_url_type=ipfs
|
# new_console_url_type=ipfs
|
||||||
|
Loading…
Reference in New Issue
Block a user