Skip to content

mor css adjustments #329

mor css adjustments

mor css adjustments #329

Workflow file for this run

name: Build, Test and Deploy with FTP
on: push
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8.15.5
- uses: actions/setup-node@master
with:
node-version: 20.x
- name: pnpm module install
run: pnpm install --frozen-lockfile
- name: nuxt generate
run: pnpm run generate
- uses: actions/upload-artifact@master
with:
name: build-artifact
path: .output/public/
test-cypress:
name: Cypress Tests
runs-on: ubuntu-20.04
needs:
- build
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8.15.5
- uses: actions/setup-node@master
with:
node-version: 20.x
- uses: actions/download-artifact@master
with:
name: build-artifact
path: .output/public/
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: npx serve .output/public
browser: chrome
# Deploy if this is the master branch
deploy:
needs:
- build
- test-cypress
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master'
name: Deploy to FTP Server
steps:
- uses: actions/download-artifact@master
with:
name: build-artifact
path: .output/public/
- name: Deploy to FTP Server
uses: SamKirkland/[email protected]
with:
server: ha01s018.org-dns.com
username: bassadin_root_website
password: ${{ secrets.FTP_Password }}
protocol: ftps
local-dir: .output/public/
security: strict