Skip to content

Commit

Permalink
fix: order of commands in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
karolsojko committed Jul 8, 2020
1 parent 3d84923 commit 51dfbe5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Initiate submodules
run: git submodule update --init --force --remote

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
Expand All @@ -19,9 +23,6 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ github.sha }}"

- name: Initiate submodules
run: git submodule update --init --force --remote

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Initiate submodules
run: git submodule update --init --force --remote

- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
Expand All @@ -19,9 +23,6 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "stable,${{ github.sha }}"

- name: Initiate submodules
run: git submodule update --init --force --remote

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down

0 comments on commit 51dfbe5

Please sign in to comment.