diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..85b7d69 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,45 @@ +name: Jekyll Docs Deployment + +on: + push: + branches: ["feature/isaak/initial-setup"] + + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./fizz_buzz_ai_docs + destination: ./_site + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index 870f069..db9c650 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *target* .jekyll-cache _site +_build diff --git a/fizz-buzz-ai-docs/.gitignore b/fizz-buzz-ai-docs/.gitignore deleted file mode 100644 index f40fbd8..0000000 --- a/fizz-buzz-ai-docs/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -_site -.sass-cache -.jekyll-cache -.jekyll-metadata -vendor diff --git a/fizz-buzz-ai-docs/about.markdown b/fizz-buzz-ai-docs/about.markdown index 8b4e0b2..4018d51 100644 --- a/fizz-buzz-ai-docs/about.markdown +++ b/fizz-buzz-ai-docs/about.markdown @@ -3,16 +3,3 @@ layout: page title: About permalink: /about/ --- - -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) - -You can find the source code for Minima at GitHub: -[jekyll][jekyll-organization] / -[minima](https://github.com/jekyll/minima) - -You can find the source code for Jekyll at GitHub: -[jekyll][jekyll-organization] / -[jekyll](https://github.com/jekyll/jekyll) - - -[jekyll-organization]: https://github.com/jekyll