We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86e1988 commit 47e818aCopy full SHA for 47e818a
.github/workflows/deploy-production.yml
@@ -16,19 +16,18 @@ jobs:
16
- name: Check out code
17
uses: actions/checkout@v4
18
19
- - name: Use Node.js ${{ env.NODE_VERSION }}
+ - name: Use Node.js v18
20
uses: actions/setup-node@v3
21
with:
22
- node-version: ${{ env.NODE_VERSION }}
+ node-version: 18.x
23
cache: 'yarn'
24
25
- - name: Install dependencies
+ - name: Install dependencies and build
26
env:
27
STRAPI_LICENSE: ${{ secrets.STRAPI_LICENSE }}
28
- run: yarn install --silent
29
-
30
- - name: Build project
31
- run: yarn build
+ run: |
+ yarn install --silent
+ yarn build
32
33
- name: Deploy to Azure Web App (run from zip)
34
uses: azure/webapps-deploy@v3
0 commit comments