basic webhook tested
This commit is contained in:
@@ -21,7 +21,7 @@ def index():
|
||||
@app.route("/api/vault-update") #webhook for vault updated
|
||||
def update_vault():
|
||||
# TODO SECURE THIS WITH SECRETTTTT or auth header
|
||||
buildStatus = build.html_file(filename, PUBLIC_VAULT_DIR)
|
||||
print(build.public_vault(PRIVATE_VAULT_DIR, PUBLIC_VAULT_DIR))# initialize the public notes from the private repo
|
||||
return "vault-rebuilt"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user