diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 52e75d5ad5..ee48cfd804 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -8,7 +8,7 @@ jobs: name: Build and Deploy environment: name: Starknet Website ${{ github.ref_name }} - url: https://${{ env.GITHUB_REF_SLUG_URL }}.starknet-website.pages.dev + url: https://${{ env.GITHUB_REF_SLUG_URL }}.starknet-websites.pages.dev runs-on: ubuntu-22.04 steps: - name: Checkout @@ -55,7 +55,7 @@ jobs: if [ "${{ env.GITHUB_REF_SLUG_URL }}" = "production" ]; then echo "VITE_SITE_URL=https://www.starknet.io" >> $GITHUB_ENV else - echo "VITE_SITE_URL=https://${{ env.GITHUB_REF_SLUG_URL }}.starknet-website.pages.dev" >> $GITHUB_ENV + echo "VITE_SITE_URL=https://${{ env.GITHUB_REF_SLUG_URL }}.starknet-websites.pages.dev" >> $GITHUB_ENV fi - name: Build project @@ -64,17 +64,16 @@ jobs: VITE_ALGOLIA_INDEX: ${{ github.ref_name == 'production' && 'production' || 'dev' }} VITE_ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} VITE_ALGOLIA_SEARCH_API_KEY: ${{ secrets.ALGOLIA_SEARCH_API_KEY }} - VITE_CF_STREAM_URL: ${{ secrets.CF_STREAM_URL }} + VITE_CF_STREAM_URL: ${{ secrets.NEW_CF_STREAM_URL }} - name: Publish uses: cloudflare/pages-action@v1 with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: starknet-website + apiToken: ${{ secrets.NEW_CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.NEW_CLOUDFLARE_ACCOUNT_ID }} + projectName: starknet-websites directory: dist/client workingDirectory: workspaces/website wranglerVersion: '3' gitHubToken: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.ref_name == 'production' && 'main' || github.ref_name }} -