diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 070edd88..785cba5f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,14 +1,11 @@ on: push name: Publish tft file to http webserver jobs: - deployment: + curl: runs-on: ubuntu-latest steps: - - name: Deploy Stage - uses: fjogeleit/http-request-action@master + - uses: actions/checkout@master + - name: curl + uses: wei/curl@v1 with: - url: ${{ secrets.UPLOAD_URL }} - method: 'POST' - username: ${{ secrets.UPLOAD_USER }} - password: ${{ secrets.UPLOAD_PASSWORD }} - file: "HMI/nspanel.tft" \ No newline at end of file + args: -u $UPLOAD_USER:$UPLOAD_PASSWORD --upload-file HMI/nspanel.tft $UPLOAD_URL \ No newline at end of file