Skip to content

fix: server secrets

fix: server secrets #4

Workflow file for this run

name: Angular Build and Deploy
on:
push:
branches: [ "master" ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install Deps
run: npm install
- name: Build Angular project
run: npm run build --prod
- name: Upload build artifacts
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ${{ secrets.SERVER_HOST }} # Replace with your server details
username: ${{ secrets.SERVER_USER }}
password: ${{ secrets.SERVER_KEY }} # Use stored environment variable
local-dir: dist/lucas-web/browser/ # Directory containing built Angular files