Skip to content

Commit

Permalink
Merge pull request #16 from jenkey2011/update_node
Browse files Browse the repository at this point in the history
Update node
  • Loading branch information
jenkey2011 authored Mar 12, 2021
2 parents 1ab0834 + dee724f commit 572c993
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10.14.2-alpine as base
FROM node:fermium-slim as base

LABEL "com.github.actions.name"="Vuepress deploy"
LABEL "com.github.actions.description"="A GitHub Action to build and deploy Vuepress sites to GitHub Pages"
Expand All @@ -9,7 +9,7 @@ LABEL "repository"="https://github.com/jenkey2011/vuepress-deploy"
LABEL "homepage"="https://github.com/jenkey2011/vuepress-deploy"
LABEL "maintainer"="Jenkey2011 <[email protected]>"

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

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
8 changes: 6 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/sh
#!/bin/bash

set -e

echo '' # see https://github.com/actions/toolkit/issues/168
echo ''

# env
echo "node version: $(node -v)"
echo "npm version: $(npm -v)"

# Build vuepress project
echo "==> Start building \n $BUILD_SCRIPT"
Expand Down

0 comments on commit 572c993

Please sign in to comment.