File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 3434 ALL_CHANGED_FILES : ${{ steps.changed-files.outputs.all_changed_files }}
3535 HAL9_TOKEN : ${{ secrets.HAL9_TOKEN_DEVEL }}
3636 run : |
37+ if echo "${ALL_CHANGED_FILES}" | grep -q "apps/hal9/"; then
38+ echo "apps/hal9 changed"
39+ hal9 deploy apps/hal9 --name hal9 --access public --url https://api.devel.hal9.com --title Hal9 --description "Conversations and content creation";
40+ fi
41+
3742 for file in ${ALL_CHANGED_FILES}; do
3843 echo "$file was changed"
3944 if [[ "$file" == apps/flux/* ]]; then
4247 if [[ "$file" == apps/echo/* ]]; then
4348 hal9 deploy apps/echo --name ECHO --access public --url https://api.devel.hal9.com --title Echo --description "Echoes user input";
4449 fi
45- if [[ "$file" == apps/hal9/* ]]; then
46- hal9 deploy apps/hal9 --name hal9 --access public --url https://api.devel.hal9.com --title Hal9 --description "Conversations and content creation";
47- fi
4850 if [[ "$file" == apps/browser/* ]]; then
4951 hal9 deploy apps/browser --name browser --access unlisted --url https://api.devel.hal9.com --title Browser --description "Capable of browsing the web";
5052 fi
Original file line number Diff line number Diff line change 3434 ALL_CHANGED_FILES : ${{ steps.changed-files.outputs.all_changed_files }}
3535 HAL9_TOKEN : ${{ secrets.HAL9_TOKEN }}
3636 run : |
37+ if echo "${ALL_CHANGED_FILES}" | grep -q "apps/hal9/"; then
38+ echo "apps/hal9 changed"
39+ hal9 deploy apps/hal9 --name hal9 --access public --title Hal9 --description "Conversations and content creation";
40+ fi
41+
3742 for file in ${ALL_CHANGED_FILES}; do
3843 echo "$file was changed"
3944 if [[ "$file" == apps/flux/* ]]; then
4247 if [[ "$file" == apps/echo/* ]]; then
4348 hal9 deploy apps/echo --name ECHO --access public --title Echo --description "Echoes user input";
4449 fi
45- if [[ "$file" == apps/hal9/* ]]; then
46- hal9 deploy apps/hal9 --name hal9 --access public --title Hal9 --description "Conversations and content creation";
47- fi
4850 if [[ "$file" == apps/browser/* ]]; then
4951 hal9 deploy apps/browser --name browser --access unlisted --title Browser --description "Capable of browsing the web";
5052 fi
You can’t perform that action at this time.
0 commit comments