Skip to content

Commit 8755f9f

Browse files
committed
really ugly hack to run drush
1 parent a30ffbe commit 8755f9f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build_deploy_and_test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,14 @@ jobs:
323323
app-name: ${{ env.AZURE_WEBAPP_NAME }}
324324
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
325325
images: 'ghcr.io/${{ env.REPO }}-azure:${{ github.sha }}'
326+
- name: Drush deploy
327+
run: |
328+
az webapp create-remote-connection \
329+
--resource-group drupal-example-stirred-dove \
330+
--name drupal-example-precious-seasnail \
331+
--port 16385 &
332+
sleep 30
333+
sshpass -pDocker\! ssh root@127.0.0.1 -m hmac-sha1 -p 16385 -o "StrictHostKeyChecking no" /var/www/vendor/bin/drush deploy
326334
327335
e2e_test:
328336
name: Feature tests

0 commit comments

Comments
 (0)