-
Notifications
You must be signed in to change notification settings - Fork 176
chore: change docs into single index.html file #547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Deploy docs to GitHub Pages | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
working-directory: docs | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: 'pages' | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: 'docs/' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta httpEquiv="refresh" content="0; URL='https://opennext.js.org'" /> | ||
<title>OpenNext docs have moved</title> | ||
<style> | ||
body, html { | ||
height: 100%; | ||
font-size: 1.2rem; | ||
margin: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
background-color: #121212; | ||
color: #f9f9f9; | ||
} | ||
|
||
p { | ||
margin: 0 auto; | ||
} | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: underline; | ||
} | ||
|
||
section { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
margin-top: 1rem; | ||
gap: 1rem; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<main> | ||
<p> | ||
The docs have moved to its own repository. You can find it here: | ||
</p> | ||
<section> | ||
<a href="https://opennext.js.org"> | ||
https://opennext.js.org | ||
</a> | ||
<a href="https://github.com/opennextjs/docs"> | ||
https://github.com/opennextjs/docs | ||
</a> | ||
</section> | ||
</main> | ||
</body> | ||
</html> |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.