Skip to content

Commit

Permalink
fix upload artifact path for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
brignano authored Jul 21, 2024
1 parent 816c770 commit 977f00a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out
path: ./.next

# Deployment job
deploy:
Expand Down
23 changes: 2 additions & 21 deletions app/_components/_about/about.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import LoadingSpinner from "@/app/_components/loading-spinner";
import Location from "@/app/_components/_about/location";
import { PhotoIcon } from "@heroicons/react/20/solid";
import Socials from "@/app/_components/_about/socials";
import { Metadata } from "next";
Expand Down Expand Up @@ -53,27 +54,7 @@ export default function About(props: AboutProps) {

<div className="mt-10 grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6">
<div className="sm:col-span-4">
<label
htmlFor="username"
className="block text-sm font-medium leading-6 text-gray-900"
>
Username
</label>
<div className="mt-2">
<div className="flex rounded-md shadow-sm ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-inset focus-within:ring-indigo-600 sm:max-w-md">
<span className="flex select-none items-center pl-3 text-gray-500 sm:text-sm">
workcation.com/
</span>
<input
id="username"
name="username"
type="text"
placeholder="janesmith"
autoComplete="username"
className="block flex-1 border-0 bg-transparent py-1.5 pl-1 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm sm:leading-6"
/>
</div>
</div>
<Location location={about.location}/>
</div>

<div className="col-span-full">
Expand Down
2 changes: 1 addition & 1 deletion app/_components/_about/location.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { LocationSchema } from "@/app/_utils/schemas";

interface LocationProps {
location: LocationSchema;
location?: LocationSchema;
}

export default function Location(props: LocationProps) {
Expand Down

0 comments on commit 977f00a

Please sign in to comment.