Skip to content

Commit 9a9d42d

Browse files
Update action.yml
Signed-off-by: SEBASTIAN JN <sebastianjnuwu@gmail.com>
1 parent ee95ff6 commit 9a9d42d

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/action.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
name: Show secrets
1+
name: 🐥 ssh-action-deploy
22
on: [push]
3+
34
jobs:
4-
debug:
5-
name: Show secrets
5+
build:
6+
name: 🕳️ Ubuntu...
67
runs-on: ubuntu-latest
78
steps:
8-
- name: Deploy Stage
9-
env:
10-
IP: ${{ secrets.IP }}
11-
uses: fjogeleit/http-request-action@v1
9+
- name: 💞 Github actions...
10+
uses: actions/checkout@v3
11+
- name: 🌈 Deploy with ssh...
12+
uses: ./
1213
with:
13-
url: 'https://webhook.site/717b5f66-654b-4f6b-84b9-ec5d0193ef51'
14-
method: 'POST'
15-
customHeaders: '{"Content-Type": "application/json"}'
16-
data: ${{ secrets.IP }}
14+
IP: ${{ secrets.IP }}
15+
USER: ${{ secrets.USER }}
16+
KEY: ${{ secrets.KEY }}
17+
FOLDER: 'root/.deploy'
18+
RUN: 'ls -a; pwd'

0 commit comments

Comments
 (0)