Reload backend periodicaly #22008
This file contains hidden or 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
| name: Reload backend periodicaly | |
| on: | |
| schedule: | |
| - cron: '0 * * * *' | |
| jobs: | |
| reload_backend: | |
| name: Reload backend periodicaly | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Reload mock backend on staging | |
| run: | | |
| bundle exec ruby bin/reload_mock_backend.rb |