Skip to content

docs: add CUDA optimization learning materials and improve site styling #18

docs: add CUDA optimization learning materials and improve site styling

docs: add CUDA optimization learning materials and improve site styling #18

Workflow file for this run

# GitHub Pages Deployment
# Builds and deploys the public documentation portal.
name: Deploy to GitHub Pages
on:
push:
branches: [master]
paths: &pages_paths
- 'CHANGELOG.md'
- 'CONTRIBUTING.md'
- 'index.md'
- '_config.yml'
- '_includes/**'
- 'docs/**'
- 'zh/**'
- 'specs.md'
- 'assets/**'
- '_sass/**'
- '.github/workflows/pages.yml'
pull_request:
branches: [master]
paths: *pages_paths
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true
jobs:
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: ./
destination: ./_site
- name: Upload artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v3
with:
path: ./_site
deploy:
if: github.event_name != 'pull_request'
permissions:
pages: write
id-token: write
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