-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: SEBASTIAN JN <[email protected]>
- Loading branch information
1 parent
ee95ff6
commit 9a9d42d
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |