Skip to content

Revert "Update index.tsx" #7

Revert "Update index.tsx"

Revert "Update index.tsx" #7

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- pages_test
permissions:
contents: read
pages: write
id-token: write
# defaults:
# run:
# working-directory: "docs/"
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: hack a .env file
run: echo "GATSBY_GOOGLE_ANALYTICS_ID=wowo" >> .env
- name: build site
run: |
npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: "public/"
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4