Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm authored Feb 13, 2024
1 parent ab2cd4a commit 63a7d14
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ on:
runs:
using: "composite"

permissions:
contents: write

steps:
- uses: cvxgrp/.github/actions/setup-environment@main
with:
Expand All @@ -41,15 +44,15 @@ runs:
# Archive the dist folder
- name: Archive sphinx documentation
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
retention-days: 1

# Push dist folder to the build branch
- name: Publish the dist folder
uses: JamesIves/github-pages-deploy-action@v4.4.3
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: dist # The branch the action should deploy to.
folder: dist # The folder the action should deploy.

0 comments on commit 63a7d14

Please sign in to comment.