Skip to content

Commit 3474032

Browse files
author
jsdnhk
committed
added GitHub workflow dir.
1 parent b56b6d5 commit 3474032

11 files changed

Lines changed: 75 additions & 40 deletions

File tree

.github/workflows/.gitkeep

Whitespace-only changes.

.github/workflows/audit.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: "Auditing"
3+
on:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
lighthouse:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: "Audit URLs using Lighthouse"
13+
uses: treosh/lighthouse-ci-action@v2
14+
with:
15+
urls: |
16+
https://jsdn.hk
17+
https://jsdn.hk/resume
18+
https://jsdn.hk/blog
19+
https://jsdn.hk/quotes
20+
https://jsdn.hk/links
21+
- name: "Save audited results as artifact"
22+
uses: actions/upload-artifact@v1
23+
with:
24+
name: jsdn.hk.audit_result
25+
path: '.lighthouseci' # store as .json files

.github/workflows/deploy.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
# Customized Jekyll deployment workflow (in test phase)
3+
name: "Deployment"
4+
on:
5+
push:
6+
branches:
7+
- master
8+
jobs:
9+
pre-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: 'Set up Ruby 2.5'
13+
uses: actions/setup-ruby@v1
14+
with:
15+
ruby-version: 2.5
16+
- name: 'Checkout codes'
17+
uses: actions/checkout@v2
18+
- name: 'Checkout messages'
19+
run: |
20+
current_time=$(TZ=Asia/Hong_Kong date)
21+
echo "Local Datetime: ${current_time}"
22+
echo "Checked out the code."

.github/workflows/main.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.
File renamed without changes.

_data/links.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
- https://github.com
88
- https://gitlab.com
99
- https://onedrive.live.com
10-
- https://www.dropbox.com
10+
- https://dropbox.com
1111

1212
- type: "IT Documents"
1313
icon: "categories/applications-education-school.png"
1414
suggestions:
1515
- https://docs.microsoft.com
1616
- https://developers.google.com/web
17-
- https://www.redhat.com/en
17+
- https://redhat.com/en
1818
- https://developer.ibm.com
1919
- https://developer.mozilla.org
20-
- https://www.w3schools.com
20+
- https://w3schools.com
2121
- https://helpx.adobe.com
22-
- https://www.digitalocean.com/community
22+
- https://digitalocean.com/community
2323

2424
- type: "Open Source Projects"
2525
icon: "categories/applications-development-web.png"
@@ -33,12 +33,12 @@
3333
- type: "Search For Answer"
3434
icon: "categories/system-help.png"
3535
suggestions:
36-
- https://www.google.com
36+
- https://google.com
3737
- https://dictionary.cambridge.org
38-
- https://www.wikipedia.org
38+
- https://wikipedia.org
3939
- https://wikihow.com
4040
- https://stackoverflow.com
41-
- https://www.server-world.info/en
41+
- https://server-world.info/en
4242
- https://web.archive.org
4343

4444
- type: "Production Tools"
@@ -48,7 +48,7 @@
4848
- https://monday.com
4949
- https://hackmd.io
5050
- https://explainshell.com
51-
- https://www.draw.io
51+
- https://draw.io
5252
- https://color.adobe.com
5353
- https://regexr.com
5454
- https://regex101.com
@@ -59,8 +59,8 @@
5959
icon: "categories/applications-multimedia.png"
6060
suggestions:
6161
- https://yahoo.com
62-
- https://www.youtube.com
63-
- https://www.linkedin.com
62+
- https://youtube.com
63+
- https://linkedin.com
6464

6565
- type: "Free Time"
6666
icon: "categories/applications-games.png"

_data/pages_latest.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
- name: blog
3-
mtime: '20200224'
3+
mtime: '20200225'
44
- name: debug
55
mtime: '20200202'
66
- name: links
77
mtime: '20200225'
88
- name: quotes
9-
mtime: '20200221'
9+
mtime: '20200225'
1010
- name: resume
1111
mtime: '20200202'

assets/saints/confucius.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"count": 37,
2+
"count": 34,
33
"results": [
44
{
55
"quoteAuthor": "Confucius",
File renamed without changes.

0 commit comments

Comments
 (0)