File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - lendemor/deploy_pipeline
7+ # swap to this before merging to main
8+ # on:
9+ # release:
10+ # types: [published]
11+
712
813jobs :
914 setup-matrix :
@@ -39,18 +44,21 @@ jobs:
3944 run : |
4045 case ${{ matrix.folder }} in
4146 ai_image_gen)
42- echo "EXTRA_ENV =--env REPLICATE_API_TOKEN=${{ secrets.REPLICATE_API_TOKEN }}" >> $GITHUB_ENV
47+ echo "EXTRA_ARGS =--env REPLICATE_API_TOKEN=${{ secrets.REPLICATE_API_TOKEN }}" >> $GITHUB_ENV
4348 ;;
4449 sales)
45- echo "EXTRA_ENV=--env OPEN_AI_KEY=${{ secrets.OPEN_AI_KEY }}" >> $GITHUB_ENV
50+ echo "EXTRA_ARGS=--env OPEN_AI_KEY=${{ secrets.OPEN_AI_KEY }}" >> $GITHUB_ENV
51+ ;;
52+ nba)
53+ echo "EXTRA_ARGS=--vmtype c1m1}" >> $GITHUB_ENV
4654 ;;
4755 *)
48- echo "EXTRA_ENV =" >> $GITHUB_ENV
56+ echo "EXTRA_ARGS =" >> $GITHUB_ENV
4957 ;;
5058 esac
5159 - name : Deploy to ReflexCloud
5260 env :
5361 REFLEX_AUTH_TOKEN : ${{ secrets.REFLEX_AUTH_TOKEN }}
5462 run : |
5563 chmod +x deploy.sh
56- ./deploy.sh ${{ matrix.folder }} "$EXTRA_ENV "
64+ ./deploy.sh ${{ matrix.folder }} "$EXTRA_ARGS "
You can’t perform that action at this time.
0 commit comments