search syntax #1136
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: Git checkout github action | |
on: | |
push: | |
branches: | |
- main | |
- rec | |
jobs: | |
post_request: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Print branch name | |
run: echo ${{github.ref_name}} | |
- name: Main branch git-checkout request | |
if: ${{ github.ref_name == 'main' }} | |
run: curl -X POST https://docs.simplicite.io/api/ext/TrnGitCheckoutService | |
- name: Rec branch git-checkout request | |
if: ${{ github.ref_name == 'rec' }} | |
run: curl -X POST https://docs2rec.dev.simplicite.io/api/ext/TrnGitCheckoutService |