Skip to content

Commit

Permalink
fix website base path
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Jan 22, 2024
1 parent 3932a73 commit 7c90e83
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ jobs:

- uses: the-guild-org/shared-config/website-cf@main
name: build and deploy website
# Dotan: the following section can be enabled once we want to have this server from the-guild.dev
# env:
# NEXT_BASE_PATH: ${{ github.ref == 'refs/heads/master' && '/graphql/gateway' || '' }}
# SITE_URL: ${{ github.ref == 'refs/heads/master' && 'https://the-guild.dev/graphql/gateway' || '' }}
env:
NEXT_BASE_PATH: ${{ github.ref == 'refs/heads/master' && '/graphql/gateway' || '' }}
SITE_URL: ${{ github.ref == 'refs/heads/master' && 'https://the-guild.dev/graphql/gateway' || '' }}
with:
cloudflareApiToken: ${{ secrets.WEBSITE_CLOUDFLARE_API_TOKEN }}
cloudflareAccountId: ${{ secrets.WEBSITE_CLOUDFLARE_ACCOUNT_ID }}
Expand Down

0 comments on commit 7c90e83

Please sign in to comment.