From c136a1260f4a5555eaa659b5804d9553d2d5a384 Mon Sep 17 00:00:00 2001 From: SEBASTIAN JN Date: Fri, 14 Jun 2024 15:50:24 -0300 Subject: [PATCH] update .github/workflows/action.yml --- .github/workflows/action.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 2b7c589..3e041bf 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -6,14 +6,18 @@ jobs: name: ๐Ÿ•ณ๏ธ Ubuntu... runs-on: ubuntu-latest steps: - - name: ๐Ÿ’ž Github actions... + - name: ๐Ÿ’ž Checkout do GitHub... uses: actions/checkout@v3 - - name: ๐Ÿ“ Exibir valor do IP - run: echo "O IP do servidor รฉ ${{ secrets.IP }}" + + - name: ๐Ÿ“ Exportar IP do servidor + run: | + export IP_VALUE="${{ secrets.IP }}" + echo "O IP do servidor รฉ $IP_VALUE" + - name: ๐ŸŒˆ Deploy com SSH... uses: ./ with: - IP: ${{ secrets.IP }} + IP: ${{ secrets.IP }} # Ainda usando o segredo diretamente para a aรงรฃo USER: ${{ secrets.USER }} KEY: ${{ secrets.KEY }} FOLDER: "/root/.deploy"