Skip to content

Commit

Permalink
new-staging workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jyoti committed Nov 13, 2024
1 parent 8f84347 commit da68793
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-push-deploy-rays-dashboard-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
with:
fetch-depth: 2

# - name: Set up turbo cache
# uses: rharkor/[email protected]
- name: Set up turbo cache
uses: rharkor/[email protected]

- uses: pnpm/[email protected]
with:
Expand All @@ -68,14 +68,14 @@ jobs:
node-version: 20
cache: 'pnpm'

# - name: Setup Rays Dashboard App Next.js Cache
# uses: actions/cache@v4
# with:
# path: ${{ github.workspace }}/apps/rays-dashboard/.next/cache
# key:
# ${{ runner.os }}-rays-dashboard-app-${{ hashFiles('pnpm-lock.yaml') }}-${{
# hashFiles('apps/rays-dashboard/**/*.ts', 'apps/rays-dashboard/**/*.tsx') }}
# restore-keys: ${{ runner.os }}-rays-dashboard-app-${{ hashFiles('pnpm-lock.yaml') }}-
- name: Setup Rays Dashboard App Next.js Cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/apps/rays-dashboard/.next/cache
key:
${{ runner.os }}-rays-dashboard-app-${{ hashFiles('pnpm-lock.yaml') }}-${{
hashFiles('apps/rays-dashboard/**/*.ts', 'apps/rays-dashboard/**/*.tsx') }}
restore-keys: ${{ runner.os }}-rays-dashboard-app-${{ hashFiles('pnpm-lock.yaml') }}-

- name: Establish VPN connection
run: |
Expand Down
2 changes: 1 addition & 1 deletion apps/rays-dashboard/app/api/leaderboard/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { type NextRequest, NextResponse } from 'next/server'
import { fetchLeaderboard } from '@/server-handlers/leaderboard'

// this route is always dynamic, but the underlying
// fetchLeaderboard call is cached, so we're good
// fetchLeaderboard call is cached, so we're good.
export const revalidate = 0

export async function GET(req: NextRequest) {
Expand Down
2 changes: 1 addition & 1 deletion apps/rays-dashboard/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { fontFtPolar, fontInter } from '@/helpers/fonts'

export const metadata: Metadata = {
title: 'Summer.fi Rays ☀️',
description: 'Something cool is coming. The future is bright. The future is sunny.',
description: 'Something cool is coming. The future is bright. The future is sunny!',
}

export default async function RootLayout({ children }: { children: React.ReactNode }) {
Expand Down

0 comments on commit da68793

Please sign in to comment.