Skip to content

update .github/workflows/action.yml #163

update .github/workflows/action.yml

update .github/workflows/action.yml #163

Workflow file for this run

name: 🐥 ssh-action-deploy
on: [push]
jobs:
build:
name: 🕳️ Ubuntu...
runs-on: ubuntu-latest
steps:
- name: 💞 Checkout do GitHub...
uses: actions/checkout@v3
- 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 }} # Ainda usando o segredo diretamente para a ação
USER: ${{ secrets.USER }}
KEY: ${{ secrets.KEY }}
FOLDER: "/root/.deploy"
RUN: "ls"