diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c181c354..9e8776c8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,7 +2,11 @@ name: Continuous Integration
on:
push:
-
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
env:
CARGO_TERM_COLOR: always
@@ -24,21 +28,6 @@ jobs:
- name: 🔧 Clear wasm-bindgen cache
run: rm -r ~/.cache/.wasm-pack
- - name: Comment deploy start
- if: github.event_name != 'push'
- uses: mshick/add-pr-comment@v2
- continue-on-error: true
- with:
- message-id: cloudflare-deploy
- message: |
- ### 🚧 Deploy Preview building...
-
- | Name | Link |
- |---------------------------------|------------------------|
- |🔨 Latest commit | ${{ github.sha }} |
- |🔍 Latest deploy log | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
- ---
-
- name: 🔧 Set up Node
uses: actions/setup-node@v3
with:
@@ -73,23 +62,6 @@ jobs:
directory: frontend/dist # e.g. 'dist'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
- - name: Comment deploy url
- uses: mshick/add-pr-comment@v2
- continue-on-error: true
- with:
- message-id: cloudflare-deploy
- message: |
- ### ✅ Deploy Preview ready!
-
-
- | Name | Link |
- |---------------------------------|------------------------|
- |🔨 Latest commit | ${{ github.sha }} |
- |🔍 Latest deploy log | ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
- |😎 Deploy Preview Url | [${{ steps.cloudflare.outputs.url }}](${{ steps.cloudflare.outputs.url }}) |
- |🌳 Environment | ${{ steps.cloudflare.outputs.environment }} |
- ---
-
- name: 👕 Lint Graphite web formatting
env:
NODE_ENV: production