Skip to content

Constituency List Page V2 (#89) #183

Constituency List Page V2 (#89)

Constituency List Page V2 (#89) #183

name: Sync storyblok branch
on:
# Allows workflow to be manually run in Github UI
workflow_dispatch:
# Keep storyblok branch up-to-date with main whenever main changes
push:
branches:
- main
permissions:
contents: write
jobs:
push-storyblok-branch:
runs-on: ubuntu-latest
steps:
- name: Checkout latest code from main branch
uses: actions/checkout@v4
- name: Push storyblok branch
run: |
# 1. Force recreate storyblok branch from main
git checkout main
git branch --force storyblok
# 2. Checkout the branch
git checkout storyblok
# 3. Force push storyblok branch to github
git push --force origin storyblok