Skip to content

Update to latest libraries. #44

Update to latest libraries.

Update to latest libraries. #44

Workflow file for this run

on: push
name: πŸš€ Deploy website on push
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/[email protected]
- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/setup-node@v2
with:
node-version: '12'
- run: npm install
- run: npm run build
- run: sudo apt-get install tree
- run: tree build
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: qrsync.org
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
local-dir: ./build/
dangerous-clean-slate: true