Skip to content

Commit

Permalink
fix: use docker instead of node12 since node14 doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed May 20, 2021
1 parent bc629d5 commit 4debabd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:14-alpine3.10

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cmgriffing/scully-gh-pages-action@v9
- uses: cmgriffing/scully-gh-pages-action@v10
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
```
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ inputs:
required: false
default: ""
runs:
using: "node14"
using: "docker"
image: "Dockerfile"
main: "index.js"
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh -l

node index.js

0 comments on commit 4debabd

Please sign in to comment.