Skip to content

Commit 50d2516

Browse files
committed
swtich Gitlab to Github
1 parent c7d1d4e commit 50d2516

7 files changed

Lines changed: 37 additions & 20 deletions

File tree

.DS_Store

-6 KB
Binary file not shown.

.github/workflows/gh-pages.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: "lts/*"
19+
20+
- name: Install dependencies
21+
run: npm install
22+
23+
- name: Build site
24+
run: npm run pages
25+
26+
- name: Deploy to GitHub Pages
27+
uses: peaceiris/actions-gh-pages@v4
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: ./public

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
node_modules/

.gitlab-ci.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blackscreen.app

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@pyxeldev/blackscreen",
2+
"name": "blackscreen",
33
"version": "1.1.0",
44
"description": "Just a black web page",
55
"author": "Kevin Py",

src/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,12 @@ <h1>Black Screen</h1>
5151
<h2>Just a black web page</h2>
5252
<p>
5353
Created by
54-
<a href="https://kevinpy.com" target="_blank">Kevin Py</a> for
55-
<a href="https://pyxel.dev" target="_blank">Pyxel</a>.
54+
<a href="https://kevinpy.com" target="_blank">Kevin Py</a>.
5655
</p>
5756
<p>
5857
Find the repository on
59-
<a href="https://gitlab.com/pyxeldev/blackscreen" target="_blank"
60-
>Gitlab</a
58+
<a href="https://github.com/KevinPy/blackscreen" target="_blank"
59+
>GitHub</a
6160
>.
6261
</p>
6362
<p>

0 commit comments

Comments
 (0)