@@ -42,14 +42,19 @@ jobs:
42
42
env :
43
43
NODE_ENV : production
44
44
45
- # temporary, to validate the build artifacts come from this action
46
- - run : touch static/hash/canary.txt
47
-
48
45
- uses : aws-actions/configure-aws-credentials@v2
49
46
with :
50
47
aws-region : eu-west-1
51
48
role-to-assume : ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
52
49
50
+ - uses : guardian/actions-riff-raff@v2
51
+ with :
52
+ projectName : dotcom:frontend
53
+ configPath : riff-raff.yaml
54
+ contentDirectories : |
55
+ frontend-static:
56
+ - static/hash
57
+
53
58
- run : |
54
59
java \
55
60
-Xmx6144M \
58
63
-XX:+UseParallelGC \
59
64
-DAPP_SECRET="fake_secret" \
60
65
-Duser.timezone=Australia/Sydney \
61
- -jar ./bin/sbt-launch.jar clean compile assets scalafmtCheckAll test Universal/packageBin
66
+ -jar ./bin/sbt-launch.jar clean compile assets scalafmtCheckAll test riffRaffUpload
62
67
env:
63
68
STAGE: DEVINFRA
64
-
65
- - uses : guardian/actions-riff-raff@v2
66
- with :
67
- projectName : dotcom:frontend
68
- configPath : riff-raff.yaml
69
- contentDirectories : |
70
- frontend-static:
71
- - static/hash
72
- admin:
73
- - admin/target/universal/admin.zip
74
- applications:
75
- - applications/target/universal/applications.zip
76
- archive:
77
- - archive/target/universal/archive.zip
78
- article:
79
- - article/target/universal/article.zip
80
- commercial:
81
- - commercial/target/universal/commercial.zip
82
- discussion:
83
- - discussion/target/universal/discussion.zip
84
- facia:
85
- - facia/target/universal/facia.zip
86
- facia-press:
87
- - facia-press/target/universal/facia-press.zip
88
- identity:
89
- - identity/target/universal/identity.zip
90
- onward:
91
- - onward/target/universal/onward.zip
92
- preview:
93
- - preview/target/universal/preview.zip
94
- rss:
95
- - rss/target/universal/rss.zip
96
- sport:
97
- - sport/target/universal/sport.zip
0 commit comments