Browse Source

Can default working dir now

pull/21/head
baarkerlounger 3 years ago
parent
commit
ad73bbc4a9
  1. 5
      .github/workflows/pipeline.yml

5
.github/workflows/pipeline.yml

@ -60,20 +60,16 @@ jobs:
with: with:
# runs 'bundle install' and caches installed gems automatically # runs 'bundle install' and caches installed gems automatically
bundler-cache: true bundler-cache: true
working-directory: ./data-collector
- name: Create DB - name: Create DB
working-directory: ./data-collector
run: | run: |
bundle exec rake db:prepare bundle exec rake db:prepare
- name: Compile Assets - name: Compile Assets
working-directory: ./data-collector
run: | run: |
bundle exec rake assets:precompile bundle exec rake assets:precompile
- name: Run tests - name: Run tests
working-directory: ./data-collector
run: | run: |
bundle exec rake bundle exec rake
@ -108,7 +104,6 @@ jobs:
- name: Build, tag, and push the image to Amazon ECR - name: Build, tag, and push the image to Amazon ECR
id: build-image id: build-image
working-directory: ./data-collector
env: env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: ${{ env.ECR_REPOSITORY }} ECR_REPOSITORY: ${{ env.ECR_REPOSITORY }}

Loading…
Cancel
Save