diff --git a/renovate.json b/renovate.json index 9c8bd55..2185b6d 100644 --- a/renovate.json +++ b/renovate.json @@ -13,7 +13,7 @@ "customType": "regex", "managerFilePatterns": ["**/action.yml"], "matchStrings": [ - "##\\s*renovate:\\s*datasource=(?[^\\s]+)\\s+depName=(?[^\\s]+)\\n\\s*[A-Z_]+(?:_VERSION)?\\s*:\\s*[\"']?(?[^\\s\"'#]+)[\"']?" + "#+\\s*renovate:\\s*datasource=(?[^\\s]+)\\s+depName=(?[^\\s]+)\\s+[A-Z0-9_]+\\s*:\\s*[\"']?(?[^\\s\"'#]+)[\"']?" ], "description": "match any pinned dependency using SCREAMING_SNAKE_CASE naming as ENV" } diff --git a/ssh-copy/action.yml b/ssh-copy/action.yml index a06c990..babde59 100644 --- a/ssh-copy/action.yml +++ b/ssh-copy/action.yml @@ -31,8 +31,12 @@ runs: shell: bash run: ssh-keyscan -H "${{ inputs.host }}" >> ~/.ssh/known_hosts - ## replace with rsync for proper synchronization - - name: copy directory + - name: install rsync + shell: bash + run: sudo apt-get update && sudo apt-get install -y rsync + + - name: rsync directory shell: bash run: | scp -r ${{ inputs.source }} ${{ inputs.user }}@${{ inputs.host }}:${{ inputs.target }} + rsync -avz --delete ${{ inputs.source }} ${{ inputs.user }}@${{ inputs.host }}:${{ inputs.target }}