diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 55ddb9bc..bb8f945b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -295,8 +295,7 @@ jobs: cd $PROJECTFOLDER echo "${{ secrets.GITHUB_TOKEN }}" > token.txt crave push token.txt -d $(crave ssh -- pwd | grep -v Select | sed -s 's/\r//g')/ - crave ssh -- "echo "${{ secrets.GITHUB_TOKEN }}" > token.txt; - bash /opt/crave/github-actions/upload.sh '${{ github.run_id }}' '${{ github.event.inputs.DEVICE_NAME }}' '${{ github.repository }}' '${{ github.event.inputs.PRODUCT_NAME }}-${{ github.run_id }}'" + crave ssh -- "bash /opt/crave/github-actions/upload.sh '${{ github.run_id }}' '${{ github.event.inputs.DEVICE_NAME }}' '${{ github.repository }}' '${{ github.event.inputs.PRODUCT_NAME }}-${{ github.run_id }}'" # Pull Errors and Display them - name: Display error.log diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml index af9e722e..ce0b71ff 100644 --- a/.github/workflows/selfhosted.yml +++ b/.github/workflows/selfhosted.yml @@ -350,8 +350,7 @@ jobs: cd $PROJECTFOLDER echo "${{ secrets.GITHUB_TOKEN }}" > token.txt crave push token.txt -d $(crave ssh -- pwd | grep -v Select | sed -s 's/\r//g')/ - crave ssh -- "echo "${{ secrets.GITHUB_TOKEN }}" > token.txt; - bash /opt/crave/github-actions/upload.sh '${{ github.run_id }}' '${{ github.event.inputs.DEVICE_NAME }}' '${{ github.repository }}' '${{ github.event.inputs.PRODUCT_NAME }}-${{ github.run_id }}'" + crave ssh -- "bash /opt/crave/github-actions/upload.sh '${{ github.run_id }}' '${{ github.event.inputs.DEVICE_NAME }}' '${{ github.repository }}' '${{ github.event.inputs.PRODUCT_NAME }}-${{ github.run_id }}'" # Pull Errors and Display them - name: Display error.log