Skip to content

Commit 47e818a

Browse files
some tiny gha workflow adjustments
1 parent 86e1988 commit 47e818a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/deploy-production.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,18 @@ jobs:
1616
- name: Check out code
1717
uses: actions/checkout@v4
1818

19-
- name: Use Node.js ${{ env.NODE_VERSION }}
19+
- name: Use Node.js v18
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: ${{ env.NODE_VERSION }}
22+
node-version: 18.x
2323
cache: 'yarn'
2424

25-
- name: Install dependencies
25+
- name: Install dependencies and build
2626
env:
2727
STRAPI_LICENSE: ${{ secrets.STRAPI_LICENSE }}
28-
run: yarn install --silent
29-
30-
- name: Build project
31-
run: yarn build
28+
run: |
29+
yarn install --silent
30+
yarn build
3231
3332
- name: Deploy to Azure Web App (run from zip)
3433
uses: azure/webapps-deploy@v3

0 commit comments

Comments
 (0)