mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Clean code.
This commit is contained in:
parent
bf357f1c84
commit
5d58016b1d
39 changed files with 481 additions and 381 deletions
8
.github/workflows/self_deploy.yml
vendored
8
.github/workflows/self_deploy.yml
vendored
|
@ -8,10 +8,10 @@ on:
|
|||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
env:
|
||||
DEPLOY_URL: ${{ secrets.DEPLOY_URL }}
|
||||
|
||||
|
||||
steps:
|
||||
- name: Send deployment request
|
||||
id: deploy-request
|
||||
|
@ -24,11 +24,11 @@ jobs:
|
|||
--silent \
|
||||
--show-error \
|
||||
"${{ secrets.DEPLOY_URL }}" || echo "Failed to send request")
|
||||
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Deployment request sent successfully"
|
||||
echo "Response: $RESPONSE"
|
||||
else
|
||||
echo "Error sending deployment request"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue