forked from speeduino/speeduino
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 935 Bytes
/
upload-ini.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Upload INI
on:
push:
branches: [ master ]
paths:
- 'reference/speeduino.ini'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate INI
uses: hyper-tuner/ini-validate-action@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
filename: reference/speeduino.ini
upload:
runs-on: ubuntu-latest
if: github.repository_owner == 'noisymime'
needs: validate
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Upload INI
uses: hyper-tuner/ini-upload-action@v1
with:
api-url: "${{ secrets.HYPER_TUNER_INI_UPLOAD_URL }}"
username: "${{ secrets.HYPER_TUNER_INI_UPLOAD_USERNAME }}"
password: "${{ secrets.HYPER_TUNER_INI_UPLOAD_PASSWORD }}"
path: reference/speeduino.ini
ecosystem: speeduino