Skip to content

Commit

Permalink
Completely refactor the site now using nuxt instead of jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
creeperkatze committed Oct 17, 2024
1 parent b0397c3 commit dd43033
Show file tree
Hide file tree
Showing 19 changed files with 9,858 additions and 103 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# https://github.com/actions/deploy-pages#usage
name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: "20"
# Pick your own package manager and build script
- run: npm install
- run: npx nuxt build --preset github_pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./.output/public
# Deployment job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github_pages environment
environment:
name: github_pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
36 changes: 21 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
# This .gitignore is appropriate for repositories deployed to GitHub Pages and using
# a Gemfile as specified at https://github.com/github/pages-gem#conventional
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Basic Jekyll gitignores (synchronize to Jekyll.gitignore)
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
# Node dependencies
node_modules

# Additional Ruby/bundler ignore for when you run: bundle install
/vendor
# Logs
logs
*.log

# Specific ignore for GitHub Pages
# GitHub Pages will always use its own deployed version of pages-gem
# This means GitHub Pages will NOT use your Gemfile.lock and therefore it is
# counterproductive to check this file into the repository.
# Details at https://github.com/github/pages-gem/issues/768
Gemfile.lock
# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
9 changes: 0 additions & 9 deletions 404.md

This file was deleted.

3 changes: 0 additions & 3 deletions _config.yml

This file was deleted.

1 change: 0 additions & 1 deletion _includes/head.html

This file was deleted.

50 changes: 0 additions & 50 deletions _layouts/default.html

This file was deleted.

6 changes: 6 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<template>
<div>
<NuxtRouteAnnouncer />
<NuxtWelcome />
</div>
</template>
6 changes: 0 additions & 6 deletions assets/css/style.scss

This file was deleted.

Binary file removed assets/images/soggy-cat-cat.gif
Binary file not shown.
Binary file removed assets/images/superslide/GameIcon.png
Binary file not shown.
11 changes: 0 additions & 11 deletions index.md

This file was deleted.

5 changes: 5 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true }
})
Loading

0 comments on commit dd43033

Please sign in to comment.