File tree 1 file changed +27
-1
lines changed
1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 45
45
46
46
- name : Upload build
47
47
uses : actions/upload-artifact@v4
48
- if : github.ref == 'refs/heads/master'
48
+ if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/react19'
49
49
with :
50
50
name : app-dist
51
51
path : dist
97
97
cache_invalidation : true
98
98
headers : |-
99
99
cache-control: public, max-age=600
100
+
101
+ deploy-react-19 :
102
+ name : Deploy to dev(react 19)
103
+ runs-on : ubuntu-latest
104
+ needs : build
105
+ if : github.ref == 'refs/heads/react19'
106
+ environment : dev-cdn-react19
107
+ permissions :
108
+ contents : ' read'
109
+ id-token : ' write'
110
+ steps :
111
+ - uses : actions/download-artifact@v4
112
+ with :
113
+ name : app-dist
114
+ path : dist
115
+ - name : Upload to CDN prod path
116
+ uses : nais/deploy/actions/cdn-upload/v2@master
117
+ with :
118
+ team : personoversikt
119
+ source : dist
120
+ destination : /internarbeidsflate-decorator-v3/dev/react19
121
+ cache_invalidation : true
122
+ identity_provider : ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
123
+ project_id : ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
124
+ headers : |-
125
+ cache-control: public, max-age=600
You can’t perform that action at this time.
0 commit comments