Skip to content

Commit

Permalink
fix(actions): use action asset upload and set metadata url
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko committed Oct 29, 2023
1 parent b3ba216 commit 33468b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
run: cd out && tar -czvf ../web-$GITHUB_SHA.tar.gz .

- name: Releasing assets
uses: softprops/action-gh-release@v1
uses: actions/upload-artifact@v3
with:
files: web*.tar.gz
path: web*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './globals.css';
import { URL } from 'node:url';
import type { Metadata, Viewport } from 'next';
import { JetBrains_Mono } from 'next/font/google';
import PlausibleProvider from 'next-plausible';
Expand All @@ -10,6 +11,7 @@ export const viewport: Viewport = {
};

export const metadata: Metadata = {
metadataBase: new URL(process.env.NEXT_PUBLIC_METADATA_BASE!),
title: 'crates.pm',
description: 'A search engine for Crates',
icons: {
Expand Down

0 comments on commit 33468b4

Please sign in to comment.