diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d2bfd43..cd6a5d2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,10 +16,10 @@ jobs: WELCOME: "ssh scp ssh pipelines" LASTSSH: "Doing something after copying" with: - host: {{ secrets.DC_HOST }} - user: {{ secrets.DC_USER }} - pass: {{ secrets.DC_PASS }} - port: {{ secrets.DC_PORT }} + host: ${{ secrets.DC_HOST }} + user: ${{ secrets.DC_USER }} + pass: ${{ secrets.DC_PASS }} + port: ${{ secrets.DC_PORT }} connect_timeout: 10s first_ssh: | rm -rf /home/github/test @@ -40,9 +40,9 @@ jobs: env: WELCOME: "scp ssh pipelines" with: - host: {{ secrets.DC_HOST }} - user: {{ secrets.DC_USER }} - pass: {{ secrets.DC_PASS }} + host: ${{ secrets.DC_HOST }} + user: ${{ secrets.DC_USER }} + pass: ${{ secrets.DC_PASS }} scp: | ./test/test1* => /home/github/test/test1/ ./test/test*.csv => "/home/github/test/test2/" @@ -55,8 +55,8 @@ jobs: env: WELCOME: "scp pipelines" with: - host: {{ secrets.DC_HOST }} - user: {{ secrets.DC_USER }} - pass: {{ secrets.DC_PASS }} + host: ${{ secrets.DC_HOST }} + user: ${{ secrets.DC_USER }} + pass: ${{ secrets.DC_PASS }} scp: | './test/*' => /home/github/test/ \ No newline at end of file diff --git a/README.md b/README.md index 5e82238..d1b446d 100644 --- a/README.md +++ b/README.md @@ -62,10 +62,10 @@ e.g. WELCOME: "ssh scp ssh pipelines" LASTSSH: "Doing something after copying" with: - host: {{ secrets.DC_HOST }} - user: {{ secrets.DC_USER }} - pass: {{ secrets.DC_PASS }} - port: {{ secrets.DC_PORT }} + host: ${{ secrets.DC_HOST }} + user: ${{ secrets.DC_USER }} + pass: ${{ secrets.DC_PASS }} + port: ${{ secrets.DC_PORT }} connect_timeout: 10s first_ssh: | rm -rf /home/github/test @@ -89,9 +89,9 @@ e.g. env: LASTSSH: "Doing something after copying" with: - host: {{ secrets.DC_HOST }} - user: {{ secrets.DC_USER }} - pass: {{ secrets.DC_PASS }} + host: ${{ secrets.DC_HOST }} + user: ${{ secrets.DC_USER }} + pass: ${{ secrets.DC_PASS }} scp: | ./test/test1* => /home/github/test/test1/ ./test/test*.csv => "/home/github/test/test2/" @@ -105,9 +105,9 @@ e.g. - name: scp pipelines uses: cross-the-world/ssh-scp-ssh-pipelines@v1.0.0 with: - host: {{ secrets.DC_HOST }} - user: {{ secrets.DC_USER }} - pass: {{ secrets.DC_PASS }} + host: ${{ secrets.DC_HOST }} + user: ${{ secrets.DC_USER }} + pass: ${{ secrets.DC_PASS }} scp: | './test/*' => /home/github/test/ ```