-
-
Notifications
You must be signed in to change notification settings - Fork 663
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Using a secret named PATH within the script causes an error.
Yaml Config
jobs:
job1:
name: DeployStg Corporate site
runs-on: ubuntu-latest
steps:
- name: ssh and deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
cd ${{ secrets.PATH }}
It worked fine except for the name PATH.
jobs:
job1:
name: DeployStg Corporate site
runs-on: ubuntu-latest
steps:
- name: ssh and deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
cd ${{ secrets.STG_PATH }}Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working