cv_2026/.gitea/workflows/act_ci.yaml
jl fcaf5bd994
Some checks failed
CV build / build (push) Failing after 51s
init vue and build
2026-04-17 14:30:48 +02:00

27 lines
626 B
YAML

name: CV build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
env:
- NODE_ENV: production
steps:
- name: Check out repository code
uses: actions/checkout@v5
- name: get node
uses: actions/setup-node@v4
with:
node-version: 22.x
- run: npm ci
- run: npm run build
- name: Copy files via SSH
uses: appleboy/scp-action@v1
with:
host: ${{ 192.168.1.19 }}
username: ${{ secrets.root }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
source: "dist/*.*"
target: /var/www/cv/