From 06e330f688fbcbd3dbb36c1c253d64e1620b0c55 Mon Sep 17 00:00:00 2001 From: Diogo Soares <32431609+DiogoSoaress@users.noreply.github.com> Date: Thu, 13 Jun 2024 12:16:49 +0200 Subject: [PATCH] feat: include "Prepare production deployment script" step (#365) * feat: add Prepare production deployment script * change cron schedule * change cron times * chore: bump tag --- .github/workflows/scheduled-deployment.yml | 10 +++++++++- package.json | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scheduled-deployment.yml b/.github/workflows/scheduled-deployment.yml index 68db1d95..4cf872e0 100644 --- a/.github/workflows/scheduled-deployment.yml +++ b/.github/workflows/scheduled-deployment.yml @@ -2,7 +2,7 @@ name: Scheduled deployment on: schedule: - - cron: '38 9,13,15 * * *' # Every day at 9:38, 13:38, 15:38 UTC + - cron: '38 7,11 * * *' # 9:38 AM and 1:38 PM UTC concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -50,3 +50,11 @@ jobs: # BUCKET: s3://${{ secrets.AWS_STAGING_BUCKET_NAME }}/releases/${{ steps.latest_tag.outputs.latest_tag }} run: bash ./scripts/github/s3_upload.sh + + # Script to prepare production deployments + - name: 'Prepare production deployment' + run: bash ./scripts/github/prepare_production_deployment.sh + env: + PROD_DEPLOYMENT_HOOK_TOKEN: ${{ secrets.PROD_DEPLOYMENT_HOOK_TOKEN }} + PROD_DEPLOYMENT_HOOK_URL: ${{ secrets.PROD_DEPLOYMENT_HOOK_URL }} + VERSION_TAG: ${{ steps.latest_tag.outputs.latest_tag }} diff --git a/package.json b/package.json index 570d0a03..bd493212 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "safe-homepage", "homepage": "https://github.com/safe-global/safe-homepage", - "version": "1.4.35", + "version": "1.4.36", "scripts": { "build": "next build && next export", "lint": "tsc && next lint",