mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-22 23:44:25 +01:00
.
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -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"
|
|
||||||
Reference in New Issue
Block a user