Skip to content

Commit

Permalink
upload the data
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Dec 12, 2024
1 parent d89c471 commit b094f80
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:

permissions:
actions: read
contents: write
deployments: write
contents: write
pages: write
id-token: write

jobs:
deploy-docs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -34,5 +36,18 @@ jobs:
mkdir -p /tmp/html/dev
mv benchmarks-website /tmp/html/dev/bench
tar -cf docs.tgz --auto-compress --strip-components 3 /tmp/html
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: /tmp/html/
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

0 comments on commit b094f80

Please sign in to comment.