-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (47 loc) · 1.2 KB
/
deploy-portal-administration-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Deploy portal-administration CI
on:
push:
branches: ["main"]
paths:
- "client/apps/portal-administration/**"
permissions:
actions: read
checks: write
contents: read
deployments: write
id-token: write
jobs:
build:
environment: non-prod
name: Deploy
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get fusion token
id: "get-fusion-token"
uses: ./.github/actions/get-fusion-token
with:
client-id: ${{secrets.AZURE_SP_FUSION}}
tenant-id: ${{secrets.AZURE_TENANT_ID}}
resource-id: ${{secrets.AZURE_FUSION_SCOPE}}
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "21"
- name: Install Global
run: |
cd client
yarn install
- name: Install
run: |
cd client/apps/portal-administration
yarn install
npm i -g @equinor/fusion-framework-cli
- name: Deploy
run: |
cd client/apps/portal-administration
fusion-framework-cli app build-publish -e ci