forked from rusefi/rusefi
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 939 Bytes
/
gen-pinouts.yaml
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
name: Generate Interactive Pinouts
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install prerequisite software
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
misc/actions/pinouts-install.sh
echo "::add-path::`pwd`/yqdir/"
- name: Set FTP variables
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
if [ "${{github.ref}}" = "refs/heads/master" ]; then
echo "::set-env name=RUSEFI_SSH_SERVER::${{secrets.RUSEFI_SSH_SERVER}}";
echo "::set-env name=RUSEFI_SSH_USER::${{secrets.RUSEFI_SSH_USER}}";
echo "::set-env name=RUSEFI_SSH_PASS::${{secrets.RUSEFI_SSH_PASS}}";
fi
- name: Generate documentation
run: bash ./misc/jenkins/generate_pinouts/gen_upload_pinouts.sh