diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 6d3a39d..0c7c3a7 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -12,9 +12,6 @@ jobs: - name: Checkout Repository uses: actions/checkout@v2 - - name: Change to Backend Directory - run: cd backend - - name: Setup Node.js uses: actions/setup-node@v2 with: @@ -23,9 +20,11 @@ jobs: - name: Install Dependencies run: yarn install + working-directory: backend - name: Install AWS CDK run: yarn global add aws-cdk + working-directory: backend - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 @@ -36,6 +35,7 @@ jobs: - name: Deploy CDK App run: cdk deploy --require-approval never + working-directory: backend env: SENTRY_ENVIRONMENT: ${{ secrets.SENTRY_ENVIRONMENT }} SENTRY_DSN: ${{ secrets.SENTRY_DSN }}