一時的にmainブランチに限定している処理をコメントアウト

This commit is contained in:
x.yumoto.k 2023-09-22 16:05:40 +09:00
parent 77eeb0ea83
commit a3cfb20449

View File

@ -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: