Skip to content

Commit

Permalink
Merge pull request #1 from AngeloThys/feature/tinacms
Browse files Browse the repository at this point in the history
Feature/tinacms
  • Loading branch information
AngeloThys authored May 12, 2024
2 parents 0e17fbf + 6c79d3d commit bd2592e
Show file tree
Hide file tree
Showing 12 changed files with 21,502 additions and 7,152 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ permissions:
id-token: write

jobs:
build-tinacms:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Build TinaCMS
env:
GITHUB_BRANCH: "feature/tinacms"
CLIENT_ID: ${{ secrets.TINA_PUBLIC_CLIENT_ID }}
TINA_TOKEN: ${{ secrets.TINA_TOKEN }}
run: npx tinacms build

build:
runs-on: ubuntu-latest
steps:
Expand All @@ -28,7 +42,7 @@ jobs:
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)

deploy:
needs: build
needs: ["build", "build-tinacms"]
runs-on: ubuntu-latest
environment:
name: github-pages
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ pnpm-debug.log*
!.yarn/sdks
!.yarn/versions
.pnp.*

node_modules
9 changes: 9 additions & 0 deletions content/posts/hello-world.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Hello, World!
---

## Hello World!

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non lorem diam. Quisque vulputate nibh sodales eros pretium tincidunt. Aenean porttitor efficitur convallis. Nulla sagittis finibus convallis. Phasellus in fermentum quam, eu egestas tortor. Maecenas ac mollis leo. Integer maximus eu nisl vel sagittis.

Suspendisse facilisis, mi ac scelerisque interdum, ligula ex imperdiet felis, a posuere eros justo nec sem. Nullam laoreet accumsan metus, sit amet tincidunt orci egestas nec. Pellentesque ut aliquet ante, at tristique nunc. Donec non massa nibh. Ut posuere lacus non aliquam laoreet. Fusce pharetra ligula a felis porttitor, at mollis ipsum maximus. Donec quam tortor, vehicula a magna sit amet, tincidunt dictum enim. In hac habitasse platea dictumst. Mauris sit amet ornare ligula, blandit consequat risus. Duis malesuada pellentesque lectus, non feugiat turpis eleifend a. Nullam tempus ante et diam pretium, ac faucibus ligula interdum.
Loading

0 comments on commit bd2592e

Please sign in to comment.