File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 2828
2929 if : ${{ !cancelled() && (github.event_name=='schedule' || (github.event_name=='workflow_dispatch' && inputs.release=='release1')) }}
3030 steps :
31- - name : " Checkout code "
31+ - name : " Checkout release/v1.0 branch "
3232 uses : actions/checkout@v5
3333 with :
3434 fetch-depth : 0
3838 id : get-latest-tag-name
3939 run : |
4040 echo "value=$(git describe --tags --abbrev=0 --first-parent)" | tee -a $GITHUB_OUTPUT
41- echo "Latest tag name on release/v1.0 branch is : ${value}"
41+
42+ - name : " Checkout code"
43+ uses : actions/checkout@v5
44+ with :
45+ fetch-depth : 0
4246
4347 - name : " Deploy to AWS (preprod)"
4448 timeout-minutes : 10
6367 needs : [ deploy-and-test-r1 ]
6468 if : ${{ !cancelled() && (github.event_name=='schedule' || (github.event_name=='workflow_dispatch' && inputs.release=='latest-main-tag')) }}
6569 steps :
66- - name : " Checkout code "
70+ - name : " Checkout main branch "
6771 uses : actions/checkout@v5
6872 with :
6973 fetch-depth : 0
7579 echo "value=$(git describe --tags --abbrev=0 --first-parent)" | tee -a $GITHUB_OUTPUT
7680 echo "Latest tag name on main branch is : ${value}"
7781
82+ - name : " Checkout code"
83+ uses : actions/checkout@v5
84+ with :
85+ fetch-depth : 0
86+
7887 - name : " Deploy to AWS (preprod)"
7988 timeout-minutes : 10
8089 uses : ./.github/actions/deploy
You can’t perform that action at this time.
0 commit comments