Skip to content

Commit

Permalink
Create make-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
philipc2 authored May 2, 2024
1 parent 854eede commit 341f9ab
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/make-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

name: Update gh-pages

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install asv
- name: Run asv publish
run: |
asv publish
- name: Update gh-pages branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.UXARRAY_ASV_PAT }}
publish_dir: ./html

0 comments on commit 341f9ab

Please sign in to comment.