Skip to content

Disable DownloadMenu (#246) #91

Disable DownloadMenu (#246)

Disable DownloadMenu (#246) #91

Workflow file for this run

name: GitHub Page Publish
on:
push:
branches: main
paths:
- ".github/workflows/gh_pages.yaml"
- "frontend/**"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
working-directory: ./frontend
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node 🔧
uses: actions/setup-node@v4
with:
node-version: "18"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- name: Setup Sentry Env 🛠️
working-directory: ${{ env.working-directory }}
run: |
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> .env.sentry-build-plugin
echo "SENTRY_ORG=${{ secrets.SENTRY_ORG }}" >> .env.sentry-build-plugin
echo "SENTRY_PROJECT=${{ secrets.SENTRY_PROJECT }}" >> .env.sentry-build-plugin
- name: Install and Build 🔧
working-directory: ${{ env.working-directory }}
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
npm install -f
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: frontend/dist