This commit is contained in:
Darren 2023-10-20 11:46:10 +08:00 committed by GitHub
parent 092431e9d2
commit e94dc060e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1859 additions and 1 deletions

View file

@ -84,6 +84,15 @@ jobs:
delete_if_exists: true
fail_if_source_empty: true
- name: Upload Websoft9 API to Azure
uses: bacongobbler/azure-blob-storage-upload@main
with:
source_dir: apphub/apidocs
container_name: $web
connection_string: ${{ secrets.Azure_blob }}
extra_args: '--destination-path ./apidocs'
overwrite: true
- name: Create Release
uses: softprops/action-gh-release@v1
if: ${{ steps.update_data.outputs.release == 'true' }}

5
apphub/apidocs/README.md Normal file
View file

@ -0,0 +1,5 @@
# Websoft9 API Documentation
## Use it
## Develop it

23
apphub/apidocs/index.html Normal file
View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title>Websoft9 API Documentationc</title>
<!-- needed for adaptive design -->
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
Redoc doesn't change outer page styles
-->
<style>
body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<redoc spec-url='https://support.websoft9.com/apidocs/openapi.jsonopenapi.json'></redoc>
<script src="https://support.websoft9.com/apidocs/redoc.standalone.js"> </script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -32,7 +32,7 @@ RUN apt update && apt install git jq iproute2 supervisor -y && \
mkdir credentials && \
echo "This folder stored the credentials of other services that integrated with apphub" > credentials/readme
RUN pip install --upgrade pip && pip install -r apphub/requirements.txt
RUN pip install --no-cache-dir --upgrade -r apphub/requirements.txt
RUN pip install -e ./apphub
# supervisor