Skip to content

Commit 572c993

Browse files
authored
Merge pull request #16 from jenkey2011/update_node
Update node
2 parents 1ab0834 + dee724f commit 572c993

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10.14.2-alpine as base
1+
FROM node:fermium-slim as base
22

33
LABEL "com.github.actions.name"="Vuepress deploy"
44
LABEL "com.github.actions.description"="A GitHub Action to build and deploy Vuepress sites to GitHub Pages"
@@ -9,7 +9,7 @@ LABEL "repository"="https://github.com/jenkey2011/vuepress-deploy"
99
LABEL "homepage"="https://github.com/jenkey2011/vuepress-deploy"
1010
LABEL "maintainer"="Jenkey2011 <jenkey2011@163.com>"
1111

12-
RUN apk add --no-cache git jq
12+
RUN apt-get update && apt-get install -y git jq
1313

1414
COPY entrypoint.sh /entrypoint.sh
1515
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
set -e
44

5-
echo '' # see https://github.com/actions/toolkit/issues/168
5+
echo ''
6+
7+
# env
8+
echo "node version: $(node -v)"
9+
echo "npm version: $(npm -v)"
610

711
# Build vuepress project
812
echo "==> Start building \n $BUILD_SCRIPT"

0 commit comments

Comments
 (0)