Skip to content

patch: Remove remainder of url updater #58

patch: Remove remainder of url updater

patch: Remove remainder of url updater #58

name: Deploy to production
on:
release:
types: [created]
jobs:
deploy-to-production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- run: git push https://heroku:${{ secrets.HEROKU_AUTH_TOKEN }}@git.heroku.com/origami-build-service-eu.git HEAD:refs/heads/main --force
- run: git push https://heroku:${{ secrets.HEROKU_AUTH_TOKEN }}@git.heroku.com/origami-build-service-us.git HEAD:refs/heads/main --force
create-change-log:
needs: [deploy-to-production]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Financial-Times/change-api-action@v1
name: Create new change log
with:
change-api-key: ${{ secrets.CHANGE_API_KEY }}
system-code: "build-service"
environment: prod
slack-channels: "ft-changes,origami-deploys"