Skip to content

UI updates

UI updates #5

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.10.0 # Use the desired Node.js version
- name: Install dependencies and build Next.js app
run: |
npm install # Install project dependencies
touch .env
echo NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET }} >> .env
echo NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL }} >> .env
echo AUTHORIZATION=${{ secrets.AUTHORIZATION }} >> .env
npm run build # Build Next.js app
- name: Deploy via FTP
uses: SamKirkland/FTP-Deploy-Action@4.3.3
with:
server: ftp.crepant.com
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
server-dir: /