Skip to content

Commit 4b6ee1b

Browse files
authored
Update emscripten.yml
1 parent bbb23ab commit 4b6ee1b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/emscripten.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
schedule:
1010
- cron: '30 20 * * *' # Warning: Timezone dep - 20:00 is 1:00
1111

12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
1216
concurrency:
1317
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
1418
cancel-in-progress: true
@@ -841,7 +845,7 @@ jobs:
841845
jupyter lite build --XeusAddon.prefix=${{ env.PREFIX }} --contents notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir dist
842846
843847
- name: Deploy preview
844-
if: ${{ runner.os == 'macOS' && matrix.clang-runtime == '20' }}
848+
if: ${{ runner.os == 'macOS' && matrix.clang-runtime == '20' && github.event_name == 'pull_request' }}
845849
uses: rossjrw/pr-preview-action@v1
846850
with:
847851
source-dir: ./xeus-cpp/dist/

0 commit comments

Comments
 (0)