Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xavidop committed Nov 8, 2024
1 parent c3f383f commit e713a75
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish to GitHub Pages

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'

- name: Install claat
run: go install github.com/googlecodelabs/tools/claat@latest

- name: Run claat
run: claat export content/codelab.md

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./genkit-workshop
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
genkit-workshop

.DS_Store
9 changes: 9 additions & 0 deletions REAMDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Genkit Workshop

Welcome to the Genkit Workshop! This is a hands-on workshop to learn how to use Firebase Genkit to use Generative AI models in your applications.

## Content

Please access the workshop main page in the [Genkit Workshop Codelab](https://genkit-workshop.xavidop.me).

You can alsso access the source code in the content [folder](/content/).
17 changes: 17 additions & 0 deletions content/codelab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
id: genkit-workshop
summary: The codelab description
authors: Xavier Portilla Edo
# Here the main title of the codelab
<!-- ------------------------ -->
## Step 1 heading here
Duration: 1
### Here a sub heading
- How to foo.
- How to bar.
<!-- ------------------------ -->
## Step 2 heading here
Duration: 5
Lot of features are available, you can:
- add code snippets
- use hyperlinks
- embed images

0 comments on commit e713a75

Please sign in to comment.