Skip to content

chore: Update donation page layout and styles #10

chore: Update donation page layout and styles

chore: Update donation page layout and styles #10

Workflow file for this run

name: Build and Deploy to Netlify
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
workflow_dispatch:
permissions:
contents: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test
- name: Install @nuxthq/studio
run: yarn add -D @nuxthq/studio
- name: Create .nuxtrc
run: echo $'\nautoImport=true\nmodules[]=@nuxthq/studio' >> .nuxtrc
- name: Build project
run: npx nuxi build
env:
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
NUXT_PUBLIC_STUDIO_API_URL: https://api.nuxt.studio
NUXT_PUBLIC_STUDIO_TOKENS: ${{ secrets.NUXT_PUBLIC_STUDIO_TOKENS }}
NUXT_PUBLIC_SITE_URL: ${{ secrets.NUXT_PUBLIC_SITE_URL }}
- name: Deploy to Netlify
uses: netlify/actions/cli@master
with:
args: deploy --dir=.output/public --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}