diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml new file mode 100644 index 0000000..eb98d57 --- /dev/null +++ b/.github/workflows/github-pages.yml @@ -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 \ No newline at end of file diff --git a/_config.yml b/_config.yml index bd5dec9..6a53635 100644 --- a/_config.yml +++ b/_config.yml @@ -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: your-email@example.com -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