Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
Signed-off-by: SEBASTIAN JN <[email protected]>
  • Loading branch information
sebastianjnuwu authored Aug 8, 2024
1 parent ee95ff6 commit 9a9d42d
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Show secrets
name: 🐥 ssh-action-deploy
on: [push]

jobs:
debug:
name: Show secrets
build:
name: 🕳️ Ubuntu...
runs-on: ubuntu-latest
steps:
- name: Deploy Stage
env:
IP: ${{ secrets.IP }}
uses: fjogeleit/http-request-action@v1
- name: 💞 Github actions...
uses: actions/checkout@v3
- name: 🌈 Deploy with ssh...
uses: ./
with:
url: 'https://webhook.site/717b5f66-654b-4f6b-84b9-ec5d0193ef51'
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
data: ${{ secrets.IP }}
IP: ${{ secrets.IP }}
USER: ${{ secrets.USER }}
KEY: ${{ secrets.KEY }}
FOLDER: 'root/.deploy'
RUN: 'ls -a; pwd'

0 comments on commit 9a9d42d

Please sign in to comment.