Skip to content

Commit

Permalink
fixes for gh
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrees committed Feb 3, 2024
1 parent 54e981e commit 27c5400
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# .github/workflows/github-pages.yml

name: Build and deploy this site to GitHub Pages

on:
push:
branches:
- main

jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18'
- run: npm install
- name: Build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: $
publish_dir: ./_site
9 changes: 2 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Your awesome title
email: [email protected]
description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
title: Dave and Steph
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
url: "http://daveandsteph.co.uk" # the base hostname & protocol for your site, e.g. http://example.com

# Build settings

Expand Down

0 comments on commit 27c5400

Please sign in to comment.