From 370c5599cc31c4a447d37b35f92a825a5bc769f4 Mon Sep 17 00:00:00 2001
From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com>
Date: Sat, 18 Jan 2020 01:04:25 +0800
Subject: [PATCH] Add files via upload
---
app.json | 7 +++++++
function/heroku.php | 2 +-
readme.md | 11 +++++++++++
version | 3 ++-
writeable.sh | 3 +++
5 files changed, 24 insertions(+), 2 deletions(-)
create mode 100644 app.json
create mode 100644 readme.md
create mode 100644 writeable.sh
diff --git a/app.json b/app.json
new file mode 100644
index 0000000..75db72a
--- /dev/null
+++ b/app.json
@@ -0,0 +1,7 @@
+{
+ "name": "herokuOnedrive",
+ "description": "Deploy herokuOnedrive to heroku",
+ "website": "https://github.com/qkqpttgf/herokuOnedrive",
+ "repository": "https://github.com/qkqpttgf/herokuOnedrive",
+ "success_url": "/"
+}
\ No newline at end of file
diff --git a/function/heroku.php b/function/heroku.php
index d170e7a..fc60e6d 100644
--- a/function/heroku.php
+++ b/function/heroku.php
@@ -169,7 +169,7 @@ language:
';
';
}
if (getConfig('APIKey')=='') $html .= '
- '.getconstStr('Create').' API Key
+ '.getconstStr('Create').' API Key
';
$html .= '
';
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..7a68d14
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,11 @@
+# Deploy to SCF
+https://cloud.tencent.com/product/scf
+
+Install: https://service-pgxgvop2-1258064400.ap-hongkong.apigateway.myqcloud.com/test/abcdef/%E6%97%A0%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%87%BD%E6%95%B0SCF%E6%90%AD%E5%BB%BAOneDrive.mp4?preview
+DEMO: https://service-pgxgvop2-1258064400.ap-hongkong.apigateway.myqcloud.com/test/abcdef/
+
+# Deploy to heroku
+https://heroku.com
+
+Click the button [](https://heroku.com/deploy) to Deploy a new app, or create an app then deploy by connect github.
+DEMO: https://herooneindex.herokuapp.com/
diff --git a/version b/version
index b34bf20..390771a 100644
--- a/version
+++ b/version
@@ -1 +1,2 @@
-adsf
\ No newline at end of file
+20200118.01
+SCF、heroku、普通VPS,三种环境都可以用了。
diff --git a/writeable.sh b/writeable.sh
new file mode 100644
index 0000000..8d3b5dc
--- /dev/null
+++ b/writeable.sh
@@ -0,0 +1,3 @@
+OneManagerPath=`cd $(dirname $0);pwd -P`
+cd ${OneManagerPath}
+chmod 666 config.php