diff --git a/.drone.yml b/.drone.yml index 3e9a38d..f5b8625 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,9 +10,7 @@ steps: from_secret: WEBHOOK_URL WEBHOOK_SECRET: from_secret: WEBHOOK_SECRET + BRANCH: + from_secret: BRANCH commands: - - 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" "$WEBHOOK_URL"' - -trigger: - branch: - - master \ No newline at end of file + - 'curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $WEBHOOK_SECRET" -d "{\"branch\":\"master\"}" "$WEBHOOK_URL"' \ No newline at end of file diff --git a/src/App.jsx b/src/App.jsx index 8726f20..59b6098 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2,7 +2,7 @@ function App() { return (