Skip to content

Commit

Permalink
Uncomments needs line on other steps so DB backup runs clear first
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Metichecchia authored and Xavier Metichecchia committed Jan 28, 2025
1 parent dcb312d commit 65a4dd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ jobs:
if: github.ref == 'refs/heads/main'
secrets: inherit
component-library:
# needs: [backup-database-dev, backup-database-main]
needs: [backup-database-main]
needs: [backup-database-dev, backup-database-main]
# needs: [backup-database-main]
if: always() && contains(needs.*.result, 'success') && !contains(needs.*.result, 'failure')
name: Build and deploy component library
runs-on: ubuntu-latest
Expand Down Expand Up @@ -112,8 +112,8 @@ jobs:
echo "${{ secrets.STORYBOOK_USERNAME }}:${{ secrets.STORYBOOK_PASSWORD }}" > Staticfile.auth
cf push benefit-finder-storybook-${BRANCH}
build-and-deploy:
# needs: [backup-database-dev, backup-database-main]
needs: [backup-database-main]
needs: [backup-database-dev, backup-database-main]
# needs: [backup-database-main]
if: always() && contains(needs.*.result, 'success') && !contains(needs.*.result, 'failure')
name: Build and deploy
runs-on: ubuntu-latest
Expand Down

0 comments on commit 65a4dd1

Please sign in to comment.