Skip to content

dymension updated (#69) #138

dymension updated (#69)

dymension updated (#69) #138

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to Server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Deploy
uses: appleboy/scp-action@master
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USERNAME }}
password: ${{ secrets.DEPLOY_PASSWORD }}
source: 'build/'
target: ${{ secrets.DEPLOY_PATH }}
strip_components: 1