feat: prefixing with action name

This commit is contained in:
Leandro Costa 2025-07-11 12:44:26 -03:00
parent 497d109b44
commit 327ab1e92c
6 changed files with 22 additions and 22 deletions

View file

@ -15,21 +15,21 @@ inputs:
runs:
using: composite
steps:
- name: Install dependencies
- name: Deploy-Docker Install dependencies
shell: sh
run: apk add openssh curl
- name: Configure SSH
- name: Deploy-Docker Configure SSH
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ inputs.ssh-private-key }}
- name: Configure Staging Server
- name: Deploy-Docker Configure Staging Server
if: github.ref == 'refs/heads/development'
shell: sh
run: echo ${{ inputs.staging-server }} > servidores.lst
- name: Configure Production Servers
- name: Deploy-Docker Configure Production Servers
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
shell: sh
run: |
@ -37,12 +37,12 @@ runs:
echo "Leandro Servidores: $SERVIDORES"
echo $SERVIDORES >> servidores.lst
- name: Set Image Name
- name: Deploy-Docker Set Image Name
uses: https://git.lhprovedor.com.br/leandro/devops/.forgejo/actions/set-image-name@main
with:
username: ${{ inputs.username }}
- name: deploy
- name: Deploy-Docker deploy
shell: sh
run: |
for i in `cat servidores.lst`; do