Skip to content

Commit caac9b2

Browse files
committed
Link to new GitHub Pages homepage
1 parent 2a8f397 commit caac9b2

File tree

11 files changed

+58
-58
lines changed

11 files changed

+58
-58
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
deploy:
1010
name: Build and Deploy
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-slim
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v2

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### Hugo
22
# Generated files by hugo
3+
.hugo_build.lock
34
/public/
45
/resources/_gen/
56

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
ENGINE_COMMAND := ${shell . ./commands.sh; echo $$ENGINE_COMMAND}
1+
ENGINE_COMMAND := ${shell . ./run; echo $$ENGINE_COMMAND}
2+
3+
HUGO := ./run hugo
4+
YARN := ./run yarn
25

36
.PHONY: all
47
all: build
58

69
.PHONY: dependencies
710
dependencies:
8-
./yarn install
11+
$(YARN) install
912

1013
.PHONY: build
1114
build: dependencies
12-
./hugo --minify
15+
$(HUGO) --minify
1316
cd docs && make build
1417
mv ./docs/site ./public/docs
1518
# If we run using Docker, we should reset file ownership afterwards.
@@ -19,7 +22,7 @@ endif
1922

2023
.PHONY: server
2124
server: dependencies
22-
./hugo server --minify --buildDrafts
25+
$(HUGO) server --minify --buildDrafts
2326

2427
.PHONY: clean
2528
clean:

commands.sh

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

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = "https://www.pushbits.io/"
1+
baseURL = "https://pushbits.github.io/"
22
languageCode = "en-us"
33
title = "PushBits"
44
disableHugoGeneratorInject = true

docs/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
site_name: PushBits
22

3-
site_url: https://www.pushbits.io/docs/
3+
site_url: https://pushbits.github.io/docs/
44

55
nav:
66
- Getting Started: index.md
@@ -33,7 +33,7 @@ theme:
3333
- header.autohide
3434

3535
extra:
36-
homepage: https://www.pushbits.io/
36+
homepage: https://pushbits.github.io/
3737
social:
3838
- icon: fontawesome/brands/twitter
3939
link: https://twitter.com/eikendev

hugo

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

hugo

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

layouts/partials/head.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
{{- template "_internal/schema.html" . -}}
1010
{{- template "_internal/twitter_cards.html" . -}}
1111

12-
{{ with .Site.Social.twitter -}}
13-
<meta name="twitter:creator" content="@{{ . }}"/>
14-
{{ end -}}
15-
1612
<title>{{ $.Site.Title }}</title>
1713

1814
<link rel="canonical" href="{{ .Permalink }}">

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "pushbits.io",
2+
"name": "pushbits.github.io",
33
"version": "0.0.1",
44
"description": "A relay server for push notifications via Matrix",
55
"main": "index.js",

0 commit comments

Comments
 (0)