ci: version bump to v0.2.59 #202
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: 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 |