Skip to content

Merge branch 'master' of https://github.com/Noesis/Xamltoy #104

Merge branch 'master' of https://github.com/Noesis/Xamltoy

Merge branch 'master' of https://github.com/Noesis/Xamltoy #104

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build-ftp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies and build
uses: actions/setup-node@v1
- run: npm install
- run: npm run deploy --if-present
env:
FTP_HOST: ${{ secrets.ftp_host }}
FTP_USER: ${{ secrets.ftp_user }}
FTP_PASSWORD: ${{ secrets.ftp_passwd }}