Deploy play.metaculus.com (Experiments) #338
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: Deploy play.metaculus.com (Experiments) | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| deploy-to-play: | |
| runs-on: ubuntu-22.04 | |
| environment: play_env | |
| env: | |
| HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
| HEROKU_APP: play-metaculus-web | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Build and deploy to Heroku | |
| run: | | |
| curl https://cli-assets.heroku.com/install-ubuntu.sh | sh | |
| heroku container:login # uses the HEROKU_API_KEY | |
| ./scripts/deploy_to_heroku.sh |