Re-Deploy service on a schedule #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On a veriy basic server, the Jetty service will run out of memory about every two weeks. | |
# Therefore, we reploy the service every week. | |
name: Re-Deploy service on a schedule | |
on: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
re-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Re-deploy service | |
run: curl ${{ secrets.REDEPLOY_HOOK }} |