Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5fbdf8cfe | ||
|
|
f2452ed852 | ||
|
|
c4d7bdf2bd | ||
|
|
9b05b7fdaa | ||
|
|
ccbe4e530c | ||
|
|
bc6405aca3 | ||
|
|
fc4e8d4436 | ||
|
|
978ec843d3 |
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -11,17 +11,17 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
- uses: actions/setup-node@v1.4.2
|
||||
with:
|
||||
node-version: 14
|
||||
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- uses: bahmutov/npm-install@v1.4.1
|
||||
|
||||
- run: yarn build:demo
|
||||
env:
|
||||
BASE_PATHNAME: "snk"
|
||||
|
||||
- uses: crazy-max/ghaction-github-pages@068e494
|
||||
- uses: crazy-max/ghaction-github-pages@v2.1.1
|
||||
with:
|
||||
target_branch: gh-pages
|
||||
build_dir: packages/demo/dist
|
||||
|
||||
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@@ -9,11 +9,11 @@ jobs:
|
||||
steps:
|
||||
# - run: sudo apt-get install gifsicle graphicsmagick
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
- uses: actions/setup-node@v1.4.2
|
||||
with:
|
||||
node-version: 14
|
||||
|
||||
- uses: bahmutov/npm-install@v1
|
||||
- uses: bahmutov/npm-install@v1.4.1
|
||||
|
||||
# - run: yarn type
|
||||
# - run: yarn lint
|
||||
@@ -21,8 +21,9 @@ jobs:
|
||||
# - run: yarn build:lib
|
||||
|
||||
- name: generate-snake-game-from-github-contribution-grid
|
||||
uses: Platane/snk@v0.0.2
|
||||
uses: Platane/snk@master
|
||||
with:
|
||||
github_user_name: platane
|
||||
|
||||
- run: ls
|
||||
- run: ls
|
||||
|
||||
10
Dockerfile
10
Dockerfile
@@ -4,7 +4,13 @@ RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends gifsicle graphicsmagick \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY packages/action/dist/* ./generate-snake-game-from-github-contribution-grid/
|
||||
COPY tsconfig.json package.json yarn.lock ./generate-snake-game-from-github-contribution-grid/
|
||||
COPY packages ./generate-snake-game-from-github-contribution-grid/packages/
|
||||
|
||||
CMD ["node", "generate-snake-game-from-github-contribution-grid/index.js"]
|
||||
RUN ( cd ./generate-snake-game-from-github-contribution-grid ; yarn install --frozen-lockfile )
|
||||
|
||||
RUN ( cd ./generate-snake-game-from-github-contribution-grid ; yarn build:action )
|
||||
|
||||
CMD ["find", "./generate-snake-game-from-github-contribution-grid"]
|
||||
# CMD ["node", "./generate-snake-game-from-github-contribution-grid/packages/action/dist/index.js"]
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ outputs:
|
||||
runs:
|
||||
using: "docker"
|
||||
image: "Dockerfile"
|
||||
args:
|
||||
- ${{ inputs.github_user_name }}
|
||||
- ${{ inputs.gif_out_path }}
|
||||
# args:
|
||||
# - ${{ inputs.github_user_name }}
|
||||
# - ${{ inputs.gif_out_path }}
|
||||
|
||||
inputs:
|
||||
github_user_name:
|
||||
|
||||
Reference in New Issue
Block a user