This commit is contained in:
joBr99
2022-02-26 15:54:18 +01:00
committed by GitHub
parent e6a34ae6a0
commit 960eb9476c

View File

@@ -1,14 +1,11 @@
on: push on: push
name: Publish tft file to http webserver name: Publish tft file to http webserver
jobs: jobs:
deployment: curl:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Deploy Stage - uses: actions/checkout@master
uses: fjogeleit/http-request-action@master - name: curl
uses: wei/curl@v1
with: with:
url: ${{ secrets.UPLOAD_URL }} args: -u $UPLOAD_USER:$UPLOAD_PASSWORD --upload-file HMI/nspanel.tft $UPLOAD_URL
method: 'POST'
username: ${{ secrets.UPLOAD_USER }}
password: ${{ secrets.UPLOAD_PASSWORD }}
file: "HMI/nspanel.tft"