Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

added glossary app! #4

Merged
merged 3 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# `REACT_APP` prefix is required to expose to client-side
REACT_APP_VERCEL_ANALYTICS_ID=$VERCEL_ANALYTICS_ID
40 changes: 40 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: GitHub Pages

on:
push:
branches:
- master
pull_request:

jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "16"

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

- run: npm ci
- run: npm run build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
10 changes: 10 additions & 0 deletions errors.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
at decodeURI (<anonymous>)
at viteTransformMiddleware (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:63436:19)
at call (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:42750:7)
at next (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:42694:5)
at viteServePublicMiddleware (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:53406:20)
at call (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:42750:7)
at next (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:42694:5)
at viteHMRPingMiddleware (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:64695:13)
at call (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:42750:7)
at next (file:///home/mapachurro/repos/Web3-Glossary/node_modules/vite/dist/node/chunks/dep-jvB8WLp9.js:42694:5
Loading
Loading