Skip to content

Commit 7524e02

Browse files
Initial Retype setup
1 parent 66ba89c commit 7524e02

3 files changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Retype powered website to GitHub Pages
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
publish:
10+
name: Publish to retype branch
11+
12+
runs-on: ubuntu-latest
13+
14+
permissions:
15+
contents: write
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: 7.0.x
23+
24+
- uses: retypeapp/action-build@latest
25+
26+
- uses: retypeapp/action-github-pages@latest
27+
with:
28+
update-branch: true

retype.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# ---------------------
2+
# Retype
3+
# ---------------------
4+
5+
input: ./
6+
output: .retype
7+
url: example.com
8+
9+
branding:
10+
title: Testing
11+
label: v0.1
12+
13+
meta:
14+
title: " - DOCS"
15+
16+
generator:
17+
# paths: root
18+
# sitemap: true
19+
trailingSlash: false # default is true
20+
21+
edit:
22+
repo: github.com/retypeapp/testing/

sample1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Sample 1
2+
3+
This is a sample page

0 commit comments

Comments
 (0)