Skip to content

Commit

Permalink
Merge pull request #739 from CodeForAfrica/roboshield/workflow-build
Browse files Browse the repository at this point in the history
Deploy Workflow build
  • Loading branch information
koechkevin authored Jun 25, 2024
2 parents 98a4e82 + 41b6d4c commit 4d6ca35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/roboshield-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
paths:
- "apps/roboshield/**"
- "Dockerfile"
- ".github/workflows/roboshield-dev.yml"
- ".github/workflows/roboshield-deploy-dev.yml"

concurrency:
group: "${{ github.workflow }} @ ${{ github.ref }}"
Expand Down Expand Up @@ -55,18 +55,18 @@ jobs:
uses: docker/build-push-action@v3
with:
build-args: |
MONGO_URL=${{ secrets.CHARTERAFRICA_MONGO_URL }}
MONGO_URL=${{ secrets.ROBOSHIELD_MONGO_URL }}
NEXT_PUBLIC_APP_URL=${{ env.NEXT_PUBLIC_APP_URL }}
NEXT_PUBLIC_SENTRY_DSN=${{ secrets.CHARTERAFRICA_SENTRY_DSN }}
PAYLOAD_SECRET_KEY=${{ secrets.CHARTERAFRICA_PAYLOAD_SECRET_KEY }}
NEXT_PUBLIC_SENTRY_DSN=${{ secrets.ROBOSHIELD_SENTRY_DSN }}
PAYLOAD_SECRET=${{ secrets.ROBOSHIELD_PAYLOAD_SECRET }}
SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ENVIRONMENT=${{ env.SENTRY_ENVIRONMENT }}
SENTRY_ORG=${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT=${{ secrets.ROBOSHIELD_SENTRY_PROJECT }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
context: .
target: charterafrica-runner
target: roboshield-runner
file: Dockerfile
push: true
tags: "${{ env.IMAGE_NAME }}:${{ github.sha }}"
Expand Down
1 change: 0 additions & 1 deletion apps/roboshield/src/lib/data/local/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export async function getPageServerSideProps(context: AppContext) {
if (!props) {
return { notFound: true };
}

return {
props,
};
Expand Down

0 comments on commit 4d6ca35

Please sign in to comment.