Open bobcoin98 opened 3 months ago
@bobcoin98 Please post your yaml config.
- name: Test command SSH
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: cd ${{ secrets.PATH }}
if I put secrets in script like this, I got the error If I put plain text instead, then It works
reverting back to appleboy/ssh-action@v1.0.3
-> it works
so please check your master branch
@bobcoin98 Can you post your raw data of yaml file?
if I put secrets in script like this, I got the error If I put plain text instead, then It works
Is that true for the master version?
if I put secrets in script like this, I got the error If I put plain text instead, then It works
Is that true for the master version?
yes, for master version, error occurs if I put any secret in script for v1.0.3, it works fine even I put some secret in script
v1.0.3 indeed works, master is broken!!!
I will take a look master branch.
Im experiencing the same issue; with latest it gives me error, but with 1.0.3 works fine.
after: https://github.com/EncryptEx/femtolink/actions/runs/10004445985/job/27653141107 before: https://github.com/EncryptEx/femtolink/actions/runs/10004371172/job/27652989509
@EncryptEx Post your config?
Here's mine https://github.com/EncryptEx/femtolink/blob/main/.github/workflows/deploy.yml in both job runs i ran the same command: sudo /path/to/file.sh
/usr/bin/env: ‘bash’: Permission denied Error: Process completed with exit code 126.
Setting user to root already