Skip to content

Commit

Permalink
Try to run the build on codeberg
Browse files Browse the repository at this point in the history
  • Loading branch information
henrycatalinismith committed Feb 18, 2025
1 parent 605166a commit 1d405bd
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 19 deletions.
28 changes: 28 additions & 0 deletions .forgejo/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches:
- main

jobs:
main:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
run_install: true
version: 10

- run: pnpm build
env:
NEXT_PUBLIC_BASE_PATH: "/${{ github.event.repository.name }}"

- uses: https://itsblue.dev/actions/codeberg-pages-deploy@v1
with:
folder: out
git_branch: pages
6 changes: 0 additions & 6 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
@import "tailwindcss";
@import "@arbetsmarknad/components/dist.css";

body {
color: var(--color-foreground);
background: var(--color-background);
font-family: Arial, Helvetica, sans-serif;
}
4 changes: 2 additions & 2 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export default function Home() {
return (
<Page>
<HeaderMenu
href="https://arbetsmarknad.github.io"
text="arbetsmarknad.github.io"
canonicalUrl={process.env.CANONICAL_URL!}
deploymentUrl={process.env.DEPLOYMENT_URL!}
/>
<Breadcrumb>
<BreadcrumbList>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"react-dom": "^19.0.0"
},
"devDependencies": {
"@arbetsmarknad/components": "^0.0.26",
"@arbetsmarknad/components": "^1.0.0",
"@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4.0.0",
"@types/node": "^20",
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d405bd

Please sign in to comment.