Skip to content

Commit

Permalink
update dir to source in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kpenfound committed May 24, 2024
1 parent 085a8f8 commit 9c32d8e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
command: cd /usr/local && { curl -L https://dl.dagger.io/dagger/install.sh | sudo sh; cd -; }
- run:
name: Dagger Test Pipeline
command: dagger call --progress plain ci --dir https://github.com/kpenfound/greetings-api\#${CIRCLE_SHA1}
command: dagger call --progress plain ci --source https://github.com/kpenfound/greetings-api\#${CIRCLE_SHA1}
workflows:
test:
jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release
on:
push:
tags:
- '**'
- "**"
jobs:
release:
name: release
Expand All @@ -11,7 +11,7 @@ jobs:
- name: Dagger
uses: kpenfound/dagger-action@main
with:
args: ci --dir https://github.com/kpenfound/greetings-api\#${GITHUB_REF_NAME} --release --tag $GITHUB_REF_NAME --infisical-token ${{ secrets.INFISICAL_TOKEN }} --infisical-project 6545b34313c9b9239b0f7183
args: ci --source https://github.com/kpenfound/greetings-api\#${GITHUB_REF_NAME} --release --tag $GITHUB_REF_NAME --infisical-token ${{ secrets.INFISICAL_TOKEN }} --infisical-project 6545b34313c9b9239b0f7183
module: github.com/kpenfound/greetings-api
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.10.2"
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ci
on:
push:
branches: [main]
branches: ["**"]
pull_request:
jobs:
ci:
Expand All @@ -11,7 +11,7 @@ jobs:
- name: Dagger
uses: kpenfound/dagger-action@main
with:
args: ci --dir https://github.com/kpenfound/greetings-api\#${GITHUB_REF_NAME}
args: ci --source https://github.com/kpenfound/greetings-api\#${GITHUB_REF_NAME}
module: github.com/kpenfound/greetings-api
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.10.2"

0 comments on commit 9c32d8e

Please sign in to comment.