Skip to content

Commit

Permalink
feat: include "Prepare production deployment script" step (#365)
Browse files Browse the repository at this point in the history
* feat: add Prepare production deployment script

* change cron schedule

* change cron times

* chore: bump tag
  • Loading branch information
DiogoSoaress authored Jun 13, 2024
1 parent 8ef1bef commit 06e330f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/scheduled-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 06e330f

Please sign in to comment.