Skip to content

Commit

Permalink
Trying to make github pages build
Browse files Browse the repository at this point in the history
  • Loading branch information
shadbags committed Feb 22, 2023
1 parent c85f53c commit d7530a2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
url: ''
baseurl: ''
url: 'https://shadbags.github.io'
baseurl: 'Godot-Platformer-Tutorial'
title: 'Jekyllwind'

plugins:
Expand Down

0 comments on commit d7530a2

Please sign in to comment.