Skip to content

Commit

Permalink
Merge pull request #86 from czbiohub-sf/gh-actions
Browse files Browse the repository at this point in the history
gh-actions: updated all actions to latest version
  • Loading branch information
duopeng authored Feb 18, 2025
2 parents af7c008 + 4986dc0 commit f45f6bc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ name: Build and deploy docs
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
branches:
- gh-actions
- main


# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -26,10 +29,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Install dependencies
working-directory: ./docs
run: |
Expand All @@ -39,7 +42,7 @@ jobs:
working-directory: ./docs
run: make build
- name: Upload build artifacts
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: './docs/build/html'

Expand All @@ -52,4 +55,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit f45f6bc

Please sign in to comment.