Skip to content

Commit

Permalink
Forgotten VitePress bits (#189)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
lifehackerhansol authored Oct 2, 2024
1 parent ef556bd commit 33413ab
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 17 deletions.
46 changes: 31 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-[email protected]
- 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
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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ō.",
Expand Down
2 changes: 1 addition & 1 deletion docs/installing-enso-(3.65).md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
:::

0 comments on commit 33413ab

Please sign in to comment.