Skip to content

Merge pull request #115 from mynaparrot/post_process #113

Merge pull request #115 from mynaparrot/post_process

Merge pull request #115 from mynaparrot/post_process #113

Workflow file for this run

name: Nightly build to test
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v3
with:
node-version: "16.x"
- name: Build project
run: |
npm install
npm run build
mkdir -p tmp/recorder
rsync -ar dist package.json config_sample.yaml tmp/recorder/
cd tmp
zip -X -r recorder.zip recorder
- name: Upload by ftp
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.PNM_FTP_HOST }}
username: ${{ secrets.PNM_FTP_USER }}
password: ${{ secrets.PNM_FTP_PASSWORD }}
local-dir: "./tmp/"
state-name: ".recorder-sync-state.json"
exclude: |
**/recorder/**