-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create and deploy VitePress docs (GH-16)
- Loading branch information
Showing
18 changed files
with
381 additions
and
93 deletions.
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,18 @@ | ||
name: docs | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run deployment script on server | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
key: ${{ secrets.KEY_ED25519 }} | ||
port: ${{ secrets.PORT }} | ||
script: sh ~/fastapi-oauth2/docs/deploy.sh |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 @@ | ||
#!/bin/bash | ||
cd ~/fastapi-oauth2/ | ||
git restore . | ||
git pull | ||
sudo rm -r /var/www/docs/fastapi-oauth2/ | ||
cd ~/fastapi-oauth2/docs/ && npm install && npm run build | ||
sudo cp -r ~/fastapi-oauth2/docs/.vitepress/dist/ /var/www/docs/fastapi-oauth2/ |
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,33 @@ | ||
--- | ||
layout: home | ||
sidebar: false | ||
|
||
title: FastAPI OAuth2 | ||
titleTemplate: OAuth2 authentication with support for several identity providers | ||
|
||
hero: | ||
name: FastAPI OAuth2 | ||
text: OAuth2 has never been that simple | ||
tagline: Easy to integrate OAuth2 authentication with support for several identity providers. | ||
image: | ||
src: /logo.png | ||
alt: PySnippet | ||
actions: | ||
- theme: brand | ||
text: Get Started | ||
link: /integration/ | ||
- theme: alt | ||
text: View on GitHub | ||
link: https://github.com/pysnippet/fastapi-oauth2 | ||
|
||
features: | ||
- icon: 🛠️ | ||
title: Free and open source | ||
details: Enjoy the freedom of our OSS project, giving you full access to its source code and allowing you to contribute to its development. | ||
- icon: 🧩 | ||
title: Easy to integrate | ||
details: Incorporate FastAPI OAuth2 into your existing projects with its straightforward integration process, saving you time. | ||
- icon: ⚡ | ||
title: Compatible with FastAPI 0.68.1+ | ||
details: The package is fully compatible with FastAPI v0.68.1 and above, ensuring smooth operation and integration with your application. | ||
--- |
Oops, something went wrong.