This file contains 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
{ | |
"extends": [ | |
"config:base", | |
"schedule:nonOfficeHours", | |
"group:recommended", | |
"npm:unpublishSafe", | |
":automergePatch", | |
":automergeLinters", | |
":automergeTesters" | |
], |
This file contains 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
# In subdirectory .github/workflows | |
name: Deploy Website on master | |
on: | |
push: | |
branches: | |
- master | |
concurrency: production_environment | |
jobs: |
This file contains 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
<?php | |
namespace Deployer; | |
require 'recipe/common.php'; | |
inventory('.deployer/hosts.yml'); | |
set('webroot', 'web'); | |
// Shared files/dirs between deploys |
This file contains 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
stages: | |
- deploy | |
deploy:frontend: | |
script: | |
- git remote add heroku-frontend https://heroku:[email protected]/frontend-app.git | |
- git push --force heroku-frontend `git subtree split --prefix frontend-folder HEAD`:master | |
only: | |
- master | |
stage: deploy |
This file contains 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: Flush Heroku Build Cache | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- yarn.lock |
This file contains 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
heroku plugins:install heroku-builds | |
heroku builds:cache:purge --app your-app-name --confirm your-app-name |