Skip to content

Commit

Permalink
added missing strategy to build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Duceswild99 committed Nov 23, 2022
1 parent a7588cf commit c6ee56e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ jobs:
deploy-to-staging:
name: Deploy to Staging
if: github.ref == 'refs/heads/main'
needs: [build-and-push-docker-image, config]
runs-on: ubuntu-latest
needs: [build-and-push-docker-image, config]
strategy:
matrix:
server: ${{ fromJson(needs.config.outputs.get-server-ip-list) }}
steps:
- name: Configure SSH
run: |
Expand Down

0 comments on commit c6ee56e

Please sign in to comment.