Skip to content

Commit

Permalink
Filter for push
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-p-smith committed Jan 30, 2024
1 parent 0c7b39d commit d36377d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: CI

on:
workflow_dispatch:
pull_request:
push:
branches:
Expand All @@ -22,11 +21,10 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Pre-build image and run make ci-build in dev container
- name: Pre-build image and run make in dev container
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/azure-samples/chat-with-your-data-solution-accelerator
cacheFrom: ghcr.io/azure-samples/chat-with-your-data-solution-accelerator
push: always
runCmd: make unittest build-frontend
runArgs: --build-arg GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
refFilterForPush: refs/heads/main

0 comments on commit d36377d

Please sign in to comment.