Skip to content

fix: use flexible prefix for fonts #80

fix: use flexible prefix for fonts

fix: use flexible prefix for fonts #80

Workflow file for this run

name: Build and Deploy
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Installing my packages
run: npm ci
- name: Extract repository name
run: echo "BASE_PATH=/$(echo $GITHUB_REPOSITORY | cut -d '/' -f 2)" >> $GITHUB_ENV
- name: Build my App
run: npm run build && touch ./out/.nojekyll
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: out # The folder the action should deploy to.
env:
CI: false
REACT_APP_AWS_USER_POOL_ID: ${{ secrets.AWS_USER_POOL_ID }}
REACT_APP_AWS_REGION: ${{ secrets.AWS_REGION }}
REACT_APP_AWS_CLIENT_ID: ${{ secrets.AWS_CLIENT_ID }}
REACT_APP_AWS_ADMIN_IDENTITY_POOL_ID: ${{ secrets.AWS_ADMIN_IDENTITY_POOL_ID }}
REACT_APP_AWS_USER_IDENTITY_POOL_ID: ${{ secrets.AWS_USER_IDENTITY_POOL_ID }}
REACT_APP_LAST_FM_KEY: ${{ secrets.LAST_FM_KEY }}
REACT_APP_DISCOGS_CONSUMER_KEY: ${{ secrets.DISCOGS_CONSUMER_KEY }}
REACT_APP_DISCOGS_CONSUMER_SECRET: ${{ secrets.DISCOGS_CONSUMER_SECRET }}
REACT_APP_API_SERVER_URL: ${{ secrets.API_SERVER_URL }}