Forgotten VitePress bits (#189)

* workflow: Update for VitePress

* LICENSE: update for VitePress

The previous license holders in this file were only related to
the old Jekyll theme which is no longer in use.

* enso-3.65: link to finalizing-setup-3.60

Not sure if this is correct, but the link no longer exists and it
was previously renamed to this.

* config: define `.vpk` and `.img` as extra extensions
This commit is contained in:
lifehackerhansol 2024-10-02 15:22:47 -07:00 committed by GitHub
parent ef556bdb67
commit 33413abd28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 35 additions and 17 deletions

View File

@ -3,36 +3,52 @@ name: Deploy site
on:
push:
branches: [ master ]
paths:
- docs/**
- .github/workflows/publish.yml
- package.json
workflow_dispatch:
jobs:
doc-deploy:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- uses: actions/setup-node@v3
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Run VuePress
# Build the site using VuePress
- name: Build site
run: npm run docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.1
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/.vuepress/dist # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
path: docs/.vitepress/dist
# Deployment job
deploy:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2017 Michael Rose
Copyright (c) 2017-2024 emiyl
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -11,6 +11,8 @@ import container from 'markdown-it-container'
import * as i18n from './i18n'
process.env.VITE_EXTRA_EXTENSIONS = 'vpk,img'
export default defineConfig({
title: "Vita Hacks Guide",
description: "A complete guide to PS Vita (TV) custom firmware, from stock to Ensō.",

View File

@ -52,5 +52,5 @@ Unfortunately, you may experience minor software incompatibilities as you will n
+ When the process has completed, press any button to reboot your device
::: tip
Continue to [Finalizing Setup (Legacy)](finalizing-setup-(legacy))
Continue to [Finalizing Setup (Legacy)](finalizing-setup-(3.60))
:::