Skip to content

Commit

Permalink
fix(ci): checkout before calling local action
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Oct 6, 2022
1 parent fffb8e7 commit 53b3962
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ runs:
with:
python-version: "3.10"

- name: ⬇️ Checkout code
uses: actions/checkout@v3

- name: 🗝️ Authenticate to Google Cloud
id: auth
uses: google-github-actions/auth@v0
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
if: github.ref_name == 'dev' && needs.release.outputs.release_created

steps:
- name: ⬇️ Checkout code
uses: actions/checkout@v3

- name: 🚢 Deploy
uses: ./github/actions/deploy
with:
Expand All @@ -68,6 +71,9 @@ jobs:
if: github.ref_name == 'main' && needs.release.outputs.release_created

steps:
- name: ⬇️ Checkout code
uses: actions/checkout@v3

- name: 🚢 Deploy
uses: ./github/actions/deploy
with:
Expand Down

0 comments on commit 53b3962

Please sign in to comment.