Skip to content

Commit

Permalink
Merge branch 'main' into end-to-end-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Dec 5, 2024
2 parents 348710c + d754774 commit bf34462
Show file tree
Hide file tree
Showing 65 changed files with 3,300 additions and 754 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/publish-to-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: publish to github pages

on:
push:
# Trigger when there is a new commit on main branch
branches: [ main ]
# also trigger when a new release tag is added to the repo
tags:
- "v*"

# Cancel already running jobs
concurrency:
group: publish_to_pages_${{ github.head_ref }}
cancel-in-progress: true

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
strategy:
matrix:
include:
- name: Publish website to Github Pages
runner: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.setup_pages.outputs.base_url }}
name: ${{ matrix.name }}
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Build website
run: cargo run -p website
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload pages
uses: actions/upload-pages-artifact@v3
with:
path: 'website/root'
- name: Deploy pages
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
/.project
/docs/book
/docs/mdbook_bin
/website/root
/website/shotover_repo_for_docs
/shotover-proxy/build/packages
/some_local_file
/test-helpers/src/connection/kafka/node/node_modules
Loading

0 comments on commit bf34462

Please sign in to comment.