Skip to content

[CD] Update frontend with this commit https://github.com/fiaisis/fron… #490

[CD] Update frontend with this commit https://github.com/fiaisis/fron…

[CD] Update frontend with this commit https://github.com/fiaisis/fron… #490

Workflow file for this run

name: Create Staging to Production pull request
on:
push:
branches:
- main
env:
SERVICES_TO_UPDATE: data-viewer fia-api file-watcher-operator frontend jobcreator plotting-service rundetection scigateway
jobs:
make_pr_for_prod:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Copy staging to prod for our microservices
run: |
Services=$SERVICES_TO_UPDATE
for Service in ${Services[*]}
do
cp -rf ./components/$Service/envs/staging/$Service.yml ./components/$Service/envs/production/$Service.yml
done
- name: Create Pull Request with changes
uses: peter-evans/[email protected]
with:
commit-message: Update prod with staging
committer: GitHub Action <[email protected]>
branch: staging_to_prod
title: "[Automatic] Update prod from staging"
body: "This is the automated PR made to perform the changes required to update production with changes made on staging. It will update the microservices we have made not the infrastructure that staging and prod are independently dependent on."