@@ -70,6 +70,10 @@ inputs:
7070 description : " Application key. If not specified and your ImpressCMS version supports it, it will be generated automatically"
7171 default : " "
7272 required : false
73+ path :
74+ description : " Where ImpressCMS is located?"
75+ default : " ."
76+ required : false
7377
7478outputs :
7579 app_key :
9094 run : |
9195 bash ${{ github.action_path }}/bin/uses-composer.sh
9296 shell : bash
97+ working-directory : ${{ inputs.path }}
9398
9499 - name : Failing because of no composer support
95100 run : |
@@ -101,13 +106,15 @@ runs:
101106 - name : Install Composer dependencies (with dev)
102107 run : composer install --no-progress --prefer-dist --optimize-autoloader
103108 shell : bash
109+ working-directory : ${{ inputs.path }}
104110
105111 - name : Doing some nessary checks (part II)
106112 id : checks2
107113 run : |
108114 bash ${{ github.action_path }}/bin/app-key.sh "${{ inputs.app_key }}"
109115 bash ${{ github.action_path }}/bin/uses-phoenix.sh
110116 shell : bash
117+ working-directory : ${{ inputs.path }}
111118
112119 - name : Failing because of no phoenix support
113120 run : |
@@ -127,6 +134,7 @@ runs:
127134 chmod -R 0777 ./htdocs/uploads || true
128135 chmod -R 0777 ./htdocs/images || true
129136 shell : bash
137+ working-directory : ${{ inputs.path }}
130138
131139 - name : Installing ImpressCMS
132140 env :
@@ -149,3 +157,4 @@ runs:
149157 APP_KEY : ${{ steps.checks2.outputs.app_key }}
150158 run : ./bin/phoenix migrate -vvv
151159 shell : bash
160+ working-directory : ${{ inputs.path }}
0 commit comments