mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
testando o [deploy-opentofu]
This commit is contained in:
@ -17,6 +17,17 @@ jobs:
|
|||||||
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
|
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Verificar se commit pede por [deploy-opentofu]
|
||||||
|
if: "!contains(gitea.event.head_commit.message, '[deploy-opentofu]')"
|
||||||
|
run: |
|
||||||
|
echo "Commit não contém [deploy-opentofu], a pipeline será ignorada."
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
- name: Executar deploy opentofu
|
||||||
|
run: echo "Commit contém [deploy-opentofu], a pipeline será executada."
|
||||||
|
|
||||||
|
|
||||||
- name: Updating apt-get
|
- name: Updating apt-get
|
||||||
run: |
|
run: |
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
|
|||||||
Reference in New Issue
Block a user