Skip to content

Merge pull request #95 from DFXswiss/develop #60

Merge pull request #95 from DFXswiss/develop

Merge pull request #95 from DFXswiss/develop #60

Workflow file for this run

name: Deploy to All-Inkl
on:
push:
branches: [main]
workflow_dispatch:
env:
NODE_VERSION: '16.x'
jobs:
build-and-deploy:
name: Build, and deploy to All-Inkl
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install packages
run: |
npm ci
- name: Build code
run: |
npm run build
- name: Deploy to All-Inkl
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.PRD_HOST }}
username: ${{ secrets.PRD_USER }}
password: ${{ secrets.PRD_PASSWORD }}
local-dir: './src/.vuepress/dist/'