Skip to content

Commit

Permalink
Merge pull request #6 from tensor4all/terasaki/enable-workflow-on-pr
Browse files Browse the repository at this point in the history
Update workflow file
  • Loading branch information
terasakisatoshi authored Sep 15, 2024
2 parents f00ece0 + 0ba17f5 commit 64fdb45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ExportPluto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- main
- master
pull_request:
workflow_dispatch:

# When two jobs run in parallel, cancel the older ones, to make sure that the website is generated from the most recent commit.
Expand Down Expand Up @@ -60,9 +60,9 @@ jobs:
# more parameters can go here
)'
- name: Deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@releases/v4
if: github.event_name == 'workflow_dispatch' || github.head_ref == 'main'
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
Expand Down

0 comments on commit 64fdb45

Please sign in to comment.