René's URL Explorer Experiment


Title: Improved Redeploy System by MoonTM-GIT · Pull Request #330 · Java-Discord/JavaBot · GitHub

Open Graph Title: Improved Redeploy System by MoonTM-GIT · Pull Request #330 · Java-Discord/JavaBot

X Title: Improved Redeploy System by MoonTM-GIT · Pull Request #330 · Java-Discord/JavaBot

Description: This PR aims to improve the redeploy system a bit. This deprecates the method described in #195. This now requires a sh to be present at /bin/sh, in addition to an updated redeploy script to support all new features. This is the redeploy script we now use to re-compile the Bot: LOCATION="Location" #e.g /home/myUser/JavaBot cd $LOCATION rm -rf $LOCATION/redeploy/ git clone https://github.com/Java-Discord/JavaBot/ redeploy cd redeploy bash gradlew :shadow if [ $? -eq 0 ]; then rm $LOCATION/JavaBot.jar mv $LOCATION/redeploy/build/libs/JavaBot-1.0.0-SNAPSHOT-all.jar $LOCATION/JavaBot.jar else echo COMPILATION FAILED echo Did not replace file. fi As you can see this now only replaces the .jar if the compilation was successful. This is also used in the Bot to cancel the redeploy if the compilation did not succeed. The location of this script has to be set in the Systems config. E.g. "redeployScriptLocation": "/home/myUser/JavaBot/redeploy.sh", We still use a systemd service to run the bot, but we don't run this script before every start anymore, instead we only use this script for the /redeploy command. This allows us to restart the bot without waiting for it to compile again if we don't want that.

Open Graph Description: This PR aims to improve the redeploy system a bit. This deprecates the method described in #195. This now requires a sh to be present at /bin/sh, in addition to an updated redeploy script to suppor...

X Description: This PR aims to improve the redeploy system a bit. This deprecates the method described in #195. This now requires a sh to be present at /bin/sh, in addition to an updated redeploy script to suppor...

Opengraph URL: https://github.com/Java-Discord/JavaBot/pull/330

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:ef7d7d94-4b9f-7af5-fbe9-1e603e2bbe8c
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idB56E:7E226:DC0D20:12476C1:69731F2D
html-safe-nonce71d674825625ad2e8fb8e3ffb430beba6ab495103cb320f552a063d151a256fc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTZFOjdFMjI2OkRDMEQyMDoxMjQ3NkMxOjY5NzMxRjJEIiwidmlzaXRvcl9pZCI6Ijg3Nzg0NzUwNDIzNTkxNTY1MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc94216d668a5e2c07beb8c8937fecfe8924c9c7da55cdf90d47d70c0e680bcb2
hovercard-subject-tagpull_request:1008449095
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/Java-Discord/JavaBot/pull/330/checks
twitter:imagehttps://avatars.githubusercontent.com/u/66334318?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/66334318?s=400&v=4
og:image:altThis PR aims to improve the redeploy system a bit. This deprecates the method described in #195. This now requires a sh to be present at /bin/sh, in addition to an updated redeploy script to suppor...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/Java-Discord/JavaBot git https://github.com/Java-Discord/JavaBot.git
octolytics-dimension-user_id77415047
octolytics-dimension-user_loginJava-Discord
octolytics-dimension-repository_id371822717
octolytics-dimension-repository_nwoJava-Discord/JavaBot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id371822717
octolytics-dimension-repository_network_root_nwoJava-Discord/JavaBot
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FJava-Discord%2FJavaBot%2Fpull%2F330%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FJava-Discord%2FJavaBot%2Fpull%2F330%2Fchecks
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=Java-Discord%2FJavaBot
Reloadhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks
Reloadhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks
Reloadhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks
Java-Discord https://patch-diff.githubusercontent.com/Java-Discord
JavaBothttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FJava-Discord%2FJavaBot
Fork 24 https://patch-diff.githubusercontent.com/login?return_to=%2FJava-Discord%2FJavaBot
Star 50 https://patch-diff.githubusercontent.com/login?return_to=%2FJava-Discord%2FJavaBot
Code https://patch-diff.githubusercontent.com/Java-Discord/JavaBot
Issues 14 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/issues
Pull requests 1 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pulls
Discussions https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/discussions
Actions https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/actions
Projects 1 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/projects
Security 0 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/security
Insights https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pulse
Code https://patch-diff.githubusercontent.com/Java-Discord/JavaBot
Issues https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/issues
Pull requests https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pulls
Discussions https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/discussions
Actions https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/actions
Projects https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/projects
Security https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/security
Insights https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FJava-Discord%2FJavaBot%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FJava-Discord%2FJavaBot%2Fissues%2Fnew%2Fchoose
MoonTM-GIThttps://patch-diff.githubusercontent.com/MoonTM-GIT
mainhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/tree/main
moon/redeployhttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/tree/moon/redeploy
Conversation 8 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330
Commits 9 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/commits
Checks 0 https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks
Files changed https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/files
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks
Improved Redeploy System https://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/Java-Discord/JavaBot/pull/330/checks
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.