We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dc73b5 commit c73989cCopy full SHA for c73989c
index.js
@@ -10,6 +10,14 @@ var AWS_ACCESS_KEY_ID = core.getInput('aws-access-key-id')
10
var AWS_SECRET_ACCESS_KEY = core.getInput('aws-secret-access-key')
11
12
13
+// Updates Ubuntu
14
+async function updateUbuntu() {
15
+ await exeq(
16
+ 'echo Updating ubuntu...',
17
+ 'sudo apt-get update -y'
18
+ )
19
+}
20
+
21
// Reinstalls Docker on Ubuntu
22
async function installDocker() {
23
await exeq(
@@ -41,6 +49,7 @@ async function runServerlessDeploy() {
41
49
42
50
// Runs all functions in sequence
43
51
async function handler() {
52
+ await updateUbuntu()
44
53
await installDocker()
45
54
await installServerlessAndPlugins()
46
55
await runServerlessDeploy()
0 commit comments