Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '43 2 * * *'
workflow_dispatch:

defaults:
Expand Down Expand Up @@ -43,17 +45,18 @@ jobs:
working-directory: ${{ env.BUILD_PATH }}

- name: Build pages
run: npm run build
run: |
npx astro build \
--site "${{ steps.pages.outputs.origin }}" \
--base "${{ steps.pages.outputs.base_path }}"
working-directory: ${{ env.BUILD_PATH }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_PATH: ${{ steps.pages.outputs.base_path }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: ${{ env.BUILD_PATH }}/build

path: ${{ env.BUILD_PATH }}/dist

DeployPages:
runs-on: "ubuntu-24.04"
Expand Down
37 changes: 19 additions & 18 deletions pages/.gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
node_modules
# build output
dist/

# Output
.output
.vercel
.netlify
.wrangler
/.svelte-kit
/build
# generated types
.astro/

# OS
.DS_Store
Thumbs.db
# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Env
# environment variables
.env
.env.*
!.env.example
!.env.test
.env.production

# macOS-specific files
.DS_Store

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
# jetbrains setting folder
.idea/
1 change: 0 additions & 1 deletion pages/.npmrc

This file was deleted.

9 changes: 0 additions & 9 deletions pages/.prettierignore

This file was deleted.

22 changes: 9 additions & 13 deletions pages/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
]
"plugins": ["prettier-plugin-astro"],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}
38 changes: 0 additions & 38 deletions pages/README.md

This file was deleted.

5 changes: 5 additions & 0 deletions pages/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// @ts-check
import { defineConfig } from "astro/config";

// https://astro.build/config
export default defineConfig({});
41 changes: 0 additions & 41 deletions pages/eslint.config.js

This file was deleted.

Loading
Loading