Skip to content

Commit

Permalink
update .github/workflows/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianjnuwu committed Jun 14, 2024
1 parent 07bbf98 commit c136a12
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c136a12

Please sign in to comment.