Skip to content

Commit

Permalink
Merge branch 'main' into fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vbkaisetsu authored Nov 9, 2023
2 parents bf53afd + c0478b8 commit 763d2dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
on:
push:
branches: [ main ]
pull_request_target:
types: [ labeled ]
pull_request:
branches: [ main ]

name: deploy

jobs:
publish:
name: Publish to Cloudflare Pages
runs-on: ubuntu-latest
if: |
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ok to test')) ||
(github.event_name != 'pull_request_target')
permissions:
contents: read
deployments: write
Expand Down Expand Up @@ -47,7 +44,6 @@ jobs:
projectName: vaporetto-demo
directory: ./examples/wasm/dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: ${GITHUB_REF##*/}

- name: Add publish URL as commit status
uses: actions/github-script@v6
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
- cron: '0 0 * * *'
push:
branches: [ main ]
pull_request_target:
types: [ labeled ]
pull_request:
branches: [ main ]

name: build

Expand All @@ -15,9 +15,6 @@ jobs:
build:
name: Check on ${{ matrix.rust }}
runs-on: ubuntu-latest
if: |
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ok to test')) ||
(github.event_name != 'pull_request_target')
strategy:
matrix:
rust:
Expand Down

0 comments on commit 763d2dd

Please sign in to comment.