Skip to content

Commit 169da90

Browse files
authored
Remove Docker and fix Pages site (#78)
1 parent 918f327 commit 169da90

File tree

6 files changed

+65
-53
lines changed

6 files changed

+65
-53
lines changed

Diff for: .github/workflows/deploy.yml

+19-7
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,29 @@ jobs:
2525
build:
2626
runs-on: ubuntu-latest
2727
steps:
28-
- name: Checkout
29-
uses: actions/checkout@v4
30-
- name: Setup Pages
28+
- uses: actions/checkout@v4
29+
30+
- name: Set up Pages
3131
uses: actions/configure-pages@v5
32-
- name: Build with Jekyll
33-
uses: actions/jekyll-build-pages@v1
32+
33+
- uses: actions/setup-node@v4
3434
with:
35-
source: ./
36-
destination: ./_site
35+
node-version: "20"
36+
37+
- name: Install dependencies
38+
run: npm i --production
39+
40+
- name: Build Site
41+
run: |
42+
mkdir ./_site
43+
cp favicon.ico ./_site
44+
touch ./_site/.nojekyll
45+
node action.js html ./_site/index.html
46+
3747
- name: Upload artifact
3848
uses: actions/upload-pages-artifact@v3
49+
with:
50+
path: "./_site"
3951

4052
# Deployment job
4153
deploy:

Diff for: .gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
node_modules
2+
_site

Diff for: Dockerfile

-11
This file was deleted.

Diff for: action.yml

-14
This file was deleted.

Diff for: package-lock.json

+44-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: run.sh

-1
This file was deleted.

0 commit comments

Comments
 (0)