From 4808b9936cb10799d518240a72d4bfc2dda0308f Mon Sep 17 00:00:00 2001 From: hlbmtc Date: Tue, 7 Oct 2025 00:29:06 +0200 Subject: [PATCH 1/2] Fixed Screenshots Service heroku github action --- .github/workflows/deploy_screenshot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_screenshot.yml b/.github/workflows/deploy_screenshot.yml index bf5737177c..c9bc4d2e6e 100644 --- a/.github/workflows/deploy_screenshot.yml +++ b/.github/workflows/deploy_screenshot.yml @@ -5,7 +5,7 @@ on: jobs: deploy-to-dev: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} HEROKU_APP: metaculus-screenshot From 41a21aaf3d7092e8933eb8c267b8a70798751e90 Mon Sep 17 00:00:00 2001 From: hlbmtc Date: Tue, 7 Oct 2025 00:30:13 +0200 Subject: [PATCH 2/2] Small fix --- .github/workflows/deploy_screenshot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy_screenshot.yml b/.github/workflows/deploy_screenshot.yml index c9bc4d2e6e..8f3fdb2bcb 100644 --- a/.github/workflows/deploy_screenshot.yml +++ b/.github/workflows/deploy_screenshot.yml @@ -15,5 +15,6 @@ jobs: 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 cd screenshot && ./deploy_to_heroku.sh