Skip to content

Commit 35fdc7d

Browse files
authored
Merge pull request #21 from jmlntw/plain-html
Remove Ruby and Jekyll
2 parents 332f520 + e96ef51 commit 35fdc7d

File tree

7 files changed

+20
-128
lines changed

7 files changed

+20
-128
lines changed

.github/workflows/pages.yml

+5-26
Original file line numberDiff line numberDiff line change
@@ -16,41 +16,20 @@ concurrency:
1616
cancel-in-progress: false
1717

1818
jobs:
19-
build:
19+
deploy:
2020
runs-on: ubuntu-latest
21+
environment:
22+
name: github-pages
23+
url: ${{ steps.deployment.outputs.page_url }}
2124
steps:
2225
- name: Checkout repository
2326
uses: actions/checkout@v4
24-
- name: Set up Ruby environment
25-
uses: ruby/setup-ruby@v1
26-
with:
27-
ruby-version: 3.0
28-
bundler-cache: true
29-
cache-version: 0
3027
- name: Set up GitHub Pages
31-
id: pages
3228
uses: actions/configure-pages@v4
33-
- name: Build GitHub Pages
34-
env:
35-
JEKYLL_ENV: production
36-
LC_ALL: C.UTF-8
37-
run: |
38-
bundle exec jekyll build \
39-
--destination _site \
40-
--baseurl "${{ steps.pages.outputs.base_path }}"
4129
- name: Upload GitHub Pages to artifact
4230
uses: actions/upload-pages-artifact@v2
4331
with:
44-
path: _site
45-
46-
deploy:
47-
needs:
48-
- build
49-
runs-on: ubuntu-latest
50-
environment:
51-
name: github-pages
52-
url: ${{ steps.deployment.outputs.page_url }}
53-
steps:
32+
path: public
5433
- name: Deploy to GitHub Pages
5534
id: deployment
5635
uses: actions/deploy-pages@v3

.gitignore

-8
This file was deleted.

Gemfile

-7
This file was deleted.

Gemfile.lock

-75
This file was deleted.

_config.yml

-9
This file was deleted.

index.md

-3
This file was deleted.

public/index.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="refresh" content="0; url=https://github.com/jmlntw">
6+
<meta name="robots" content="noindex">
7+
<title>Redirecting…</title>
8+
<link rel="canonical" href="https://github.com/jmlntw">
9+
<script>location = "https://github.com/jmlntw"</script>
10+
</head>
11+
<body>
12+
<h1>Redirecting…</h1>
13+
<a href="https://github.com/jmlntw">Click here if you are not redirected.</a>
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)