Skip to content

Commit

Permalink
Fix action triggers.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadling committed Aug 31, 2024
1 parent 2a9e248 commit 2de08ec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-staging-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
with:
envs: staging,prod
path_filters: '!.infra/**,apiv2/**'
branches: release-please--branches--main
branches_include: release-please--branches--main
9 changes: 4 additions & 5 deletions .github/workflows/workflow-argus-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
description: 'Glob patterns to match against changed files in the repository, comma delimited'
required: true
type: string
branches:
branches_include:
description: 'Branches to build on, comma delimited'
required: false
type: string
Expand All @@ -27,16 +27,15 @@ jobs:
uses: chanzuckerberg/github-actions/.github/workflows/[email protected]
secrets: inherit
with:
branches: ${{ inputs.branches }}
branches_include: ${{ inputs.branches_include }}
branches_ignore: ${{ inputs.branches_ignore }}
path_filters: ${{ inputs.path_filters }}
envs: ${{ inputs.envs }}
images: |
[
{
{ "apiv2": {
"name": "apiv2",
"context": "apiv2",
"dockerfile": "apiv2/Dockerfile",
"platform": "linux/arm64"
}
]
}
5 changes: 5 additions & 0 deletions apiv2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@ After the above steps, browse the api at [http://localhost:9009/graphql](http://

```
# First, make any necessary changes to apiv2/schema/schema.yaml, then run this to generate new code & migrations and apply them:
cd apiv2
make update-schema
# Then, from the root of the repo, run:
cd ..
pre-commit run --all-files
# Then commit all changed files, *including* any new migrations!
```

0 comments on commit 2de08ec

Please sign in to comment.