diff --git a/.github/workflows/main_tclolyoapp.yml b/.github/workflows/main_tclolyoapp.yml index ec2cb0f..ccf1a15 100644 --- a/.github/workflows/main_tclolyoapp.yml +++ b/.github/workflows/main_tclolyoapp.yml @@ -29,7 +29,7 @@ jobs: - name: Run composer install if composer.json exists if: steps.check_files.outputs.files_exists == 'true' - run: composer validate --no-check-publish && composer install --prefer-dist --no-progress + run: composer update && composer validate --no-check-publish && composer install --prefer-dist --no-progress - name: Zip artifact for deployment run: zip release.zip ./* -r @@ -46,8 +46,8 @@ jobs: environment: name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - permissions: - id-token: write #This is required for requesting the JWT + permissions: + id-token: write #This is required for requesting the JWT steps: - name: Download artifact from build job @@ -57,13 +57,13 @@ jobs: - name: Unzip artifact for deployment run: unzip release.zip - - - name: Login to Azure - uses: azure/login@v1 - with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_E91FB6202EBC4E13B26CC0F53923036E }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_5774AECC6B2844279A5B757640A61E55 }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_8BD3B66A13D04812ABBD549E141A9561 }} + + - name: Login to Azure + uses: azure/login@v1 + with: + client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_E91FB6202EBC4E13B26CC0F53923036E }} + tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_5774AECC6B2844279A5B757640A61E55 }} + subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_8BD3B66A13D04812ABBD549E141A9561 }} - name: 'Deploy to Azure Web App' uses: azure/webapps-deploy@v2 @@ -72,4 +72,4 @@ jobs: app-name: 'tclolyoapp' slot-name: 'Production' package: . - \ No newline at end of file +