Skip to content

CD

CD #33

Workflow file for this run

name: CD
on: workflow_dispatch
env:
FTP_HOST: w01bad8e.kasserver.com
FTP_USER: f013bb2a
jobs:
vue-client:
name: Deploy client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Configure project
run: mv ./src/firebase/config.prod.ts ./src/firebase/config.ts
- name: Build Project with npm
run: |
npm ci
npm run build -- --modern
- name: Upload app
uses: SamKirkland/FTP-Deploy-Action@4.0.0
with:
server: ${{ env.FTP_HOST }}
username: ${{ env.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./dist/
state-name: ../.client-ftp-deploy-sync-state.json