This action allow and turn more easy connect and run scripts in server using SSH and Printunl VPN
| Name | Required | Description | Has Default Value? |
|---|---|---|---|
host |
β | Nome do usuΓ‘rio | β |
port |
β | port to server access | β (22) |
username |
β | login to server access | β |
private_key |
β | private key to server access | β |
printunl_profile_file |
β | Base64 encoded Printunl File | β |
printunl_profile_pin |
β | Pin of Prinunl File | β |
script |
β | script that you want to works on the server | β |
- name: Connect SSH with Pritunl
uses: LpxsBr/connect-ssh-printunl@v1.1
with:
host : ${{ secrets.HOST }}
username : ${{ secrets.USERNAME }}
port : ${{ secrets.PORT }}
private_key : ${{ secrets.PRIVATE_KEY }}
printunl_profile_file : ${{ secrets.PRITUNL_PROFILE_FILE }}
printunl_profile_pin : ${{ secrets.PRITUNL_PROFILE_PIN }}
script : |
echo "Hello World!"
cd project
php artisan cache:clear
This actions internally use: