Skip to content

fix: dark mode border for header/footer #20

fix: dark mode border for header/footer

fix: dark mode border for header/footer #20

Workflow file for this run

name: Build and Deploy
env:
GITHUB_URL: https://fitness.trovster.com
on:
push:
branches:
- main
- develop
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Create .env file
env:
API_BASE: ${{ vars.API_BASE }}
API_KEY: ${{ secrets.API_KEY }}
run: |
touch .env
echo API_BASE="${{ vars.API_BASE }}" >> .env
echo API_KEY="${{ secrets.API_KEY }}" >> .env
- name: Install and Build 🔧
run: |
npm ci
npm test
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: dist