File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4141 # Make it easier to see when environment setup is incorrect
4242 shell : bash
4343 run : |
44- if [ -z "${{ secrets .ssh-private-key }}" ]; then
44+ if [ -z "${{ inputs .ssh-private-key }}" ]; then
4545 echo "ssh-private-key is not set"
4646 exit 1
4747 fi
9090 with :
9191 host : ${{ inputs.vps-ip }}
9292 username : ${{ inputs.ssh-user }}
93- key : ${{ secrets .ssh-private-key }}
93+ key : ${{ inputs .ssh-private-key }}
9494 port : 22
9595 source : ${{ inputs.dotenv-path }}
9696 target : sites/${{ vars.site-name }}/.env
@@ -102,7 +102,7 @@ runs:
102102 with :
103103 host : ${{ inputs.vps-ip }}
104104 username : ${{ inputs.ssh-user }}
105- key : ${{ secrets .ssh-private-key }}
105+ key : ${{ inputs .ssh-private-key }}
106106 script : |
107107 chmod 600 sites/${{ vars.site-name }}/.env
108108
@@ -111,7 +111,7 @@ runs:
111111 with :
112112 host : ${{ inputs.vps-ip }}
113113 username : ${{ inputs.ssh-user }}
114- key : ${{ secrets .ssh-private-key }}
114+ key : ${{ inputs .ssh-private-key }}
115115 script : |
116116 # Log in to GitHub Container Registry
117117 echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin && \
File renamed without changes.
You can’t perform that action at this time.
0 commit comments