Created
December 20, 2021 21:16
-
-
Save alexcarpenter/9a58be8591637684f7bcf5ad9fc03044 to your computer and use it in GitHub Desktop.
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
on: | |
push: | |
branches: | |
- main | |
jobs: | |
stable_website_preview_cherry_pick: | |
runs-on: ubuntu-latest | |
name: Cherry pick main to stable-website-preview branch | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: stable-website-preview | |
- run: | | |
git fetch --no-tags --prune origin main | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git cherry-pick ${{ github.sha }} | |
git push origin stable-website-preview |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment