Skip to content

Update

Update #113

Workflow file for this run

name: Rollup
on:
push:
branches: [ "deploy_testing" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
# check build is ok
- run: npm install
- run: npm run build --if-present
- run: tar -cvf deploy.tar ./build/
- name: copy file via ssh password
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
source: "deploy.tar"
target: "/home/aukus/deploy_test_aukus_frontend/deploy_build"