一時的にmainブランチに限定している処理をコメントアウト
This commit is contained in:
parent
77eeb0ea83
commit
a3cfb20449
@ -16,15 +16,15 @@ jobs:
|
||||
clean: true
|
||||
fetchDepth: 1
|
||||
persistCredentials: true
|
||||
- script: |
|
||||
git fetch origin main:main
|
||||
if git merge-base --is-ancestor $(Build.SourceVersion) main; then
|
||||
echo "This commit is in the main branch."
|
||||
else
|
||||
echo "This commit is not in the main branch."
|
||||
exit 1
|
||||
fi
|
||||
displayName: 'タグが付けられたCommitがmainブランチに存在するか確認'
|
||||
# - script: |
|
||||
# git fetch origin main:main
|
||||
# if git merge-base --is-ancestor $(Build.SourceVersion) main; then
|
||||
# echo "This commit is in the main branch."
|
||||
# else
|
||||
# echo "This commit is not in the main branch."
|
||||
# exit 1
|
||||
# fi
|
||||
# displayName: 'タグが付けられたCommitがmainブランチに存在するか確認'
|
||||
- job: backend_deploy
|
||||
displayName: Backend Deploy
|
||||
pool:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user