-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
813a04a
commit 50e4ee4
Showing
13 changed files
with
7,307 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Deploy pages | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "lts/*" | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Install slidev | ||
run: npm i -g @slidev/cli | ||
|
||
- name: Build | ||
run: npm run build -- --base /${{ github.repository }}/ | ||
|
||
- uses: actions/configure-pages@v3 | ||
|
||
- uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: dist | ||
|
||
- name: Deploy | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
node_modules | ||
.DS_Store | ||
dist | ||
*.local | ||
index.html | ||
.remote-assets | ||
components.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# for pnpm | ||
shamefully-hoist=true | ||
auto-install-peers=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"markdownlint.config": { | ||
"MD003": false, | ||
"MD022": false, | ||
"MD024": false, | ||
"MD025": false, | ||
"MD033": false, | ||
"MD034": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
# slide-20231206-findy | ||
# Welcome to [Slidev](https://github.com/slidevjs/slidev)! | ||
|
||
To start the slide show: | ||
|
||
- `npm install` | ||
- `npm run dev` | ||
- visit http://localhost:3030 | ||
|
||
Edit the [slides.md](./slides.md) to see the changes. | ||
|
||
Learn more about Slidev on [documentations](https://sli.dev/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template> | ||
<footer v-if="$slidev.nav.currentLayout !== 'cover'"> | ||
<ul v-if="$slidev.nav.refs" class="absolute bottom-2 left-4"> | ||
<li v-for="ref in $slidev.nav.refs" :key="ref">{{ ref }}</li> | ||
</ul> | ||
<span class="absolute bottom-2 right-4" | ||
>{{ $slidev.nav.currentPage }} / {{ $slidev.nav.total }}</span | ||
> | ||
</footer> | ||
</template> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[build.environment] | ||
NODE_VERSION = "14" | ||
|
||
[build] | ||
publish = "dist" | ||
command = "npm run build" | ||
|
||
[[redirects]] | ||
from = "/.well-known/*" | ||
to = "/.well-known/:splat" | ||
status = 200 | ||
|
||
[[redirects]] | ||
from = "/*" | ||
to = "/index.html" | ||
status = 200 |
Oops, something went wrong.