Skip to content
Snippets Groups Projects
Unverified Commit a8bb0446 authored by Kelvin Rodriguez's avatar Kelvin Rodriguez Committed by GitHub
Browse files

Adds CI trigger to deploy RC branches (#5682)

* added release trigger

* added release trigger

* added release trigger

* added release trigger

* added release trigger

* whatever

* whatever

* whatever

* added rc workflow

* appended release to also work on RCs

* added branchtrigger

* added branchtrigger

* added branchtrigger
parent 5c0b3883
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,9 @@ env: ...@@ -7,7 +7,9 @@ env:
on: on:
release: release:
types: [prereleased, released] types: [prereleased, released]
push:
branches:
- '*.*.*_RC*'
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
...@@ -16,7 +18,7 @@ jobs: ...@@ -16,7 +18,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Run script - name: Run script
env: env:
ISIS_VERSION: ${{ github.event.release.tag_name }} ISIS_VERSION: ${{ github.event.release.tag_name || github.ref_name }}
run: | run: |
git config --global user.name "Github_CI" git config --global user.name "Github_CI"
git config --global user.email "project_14468_bot_3f7d8e1a392afd88ead5f3f3154e809d@noreply.gitlab.com" git config --global user.email "project_14468_bot_3f7d8e1a392afd88ead5f3f3154e809d@noreply.gitlab.com"
...@@ -27,3 +29,4 @@ jobs: ...@@ -27,3 +29,4 @@ jobs:
echo -e "\nenv: \n shell: bash \n variables: \n ISIS_VERSION: $ISIS_VERSION \n ANACONDA_API_TOKEN: $ANACONDA_TOKEN" >> buildspec-release.yml echo -e "\nenv: \n shell: bash \n variables: \n ISIS_VERSION: $ISIS_VERSION \n ANACONDA_API_TOKEN: $ANACONDA_TOKEN" >> buildspec-release.yml
git commit -a -m "$ISIS_VERSION" git commit -a -m "$ISIS_VERSION"
git push origin RELEASE_$ISIS_VERSION --force git push origin RELEASE_$ISIS_VERSION --force
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment