We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee95ff6 commit 9a9d42dCopy full SHA for 9a9d42d
.github/workflows/action.yml
@@ -1,16 +1,18 @@
1
-name: Show secrets
+name: 🐥 ssh-action-deploy
2
on: [push]
3
+
4
jobs:
- debug:
5
- name: Show secrets
+ build:
6
+ name: 🕳️ Ubuntu...
7
runs-on: ubuntu-latest
8
steps:
- - name: Deploy Stage
9
- env:
10
- IP: ${{ secrets.IP }}
11
- uses: fjogeleit/http-request-action@v1
+ - name: 💞 Github actions...
+ uses: actions/checkout@v3
+ - name: 🌈 Deploy with ssh...
12
+ uses: ./
13
with:
- url: 'https://webhook.site/717b5f66-654b-4f6b-84b9-ec5d0193ef51'
14
- method: 'POST'
15
- customHeaders: '{"Content-Type": "application/json"}'
16
- data: ${{ secrets.IP }}
+ IP: ${{ secrets.IP }}
+ USER: ${{ secrets.USER }}
+ KEY: ${{ secrets.KEY }}
17
+ FOLDER: 'root/.deploy'
18
+ RUN: 'ls -a; pwd'
0 commit comments