Skip to content

Commit

Permalink
fix: clone with ref instead of ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
nischalstha9 committed Jul 4, 2024
1 parent e4eb7e8 commit eaa628d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy_DTM_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
ref: ${{ github.ref }}

- name: Setup AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_and_deploy_DTM_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
name: ${{ github.ref_name }}
steps:
- name: Clone repository
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
ref: ${{ github.ref }}

- name: Use Node.js 19.x
uses: actions/setup-node@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
environment:
name: ${{ github.ref_name }}
steps:
- name: Checkout repository
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Setup AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
name: Code Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Clone repository
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Use Node.js 19.x
uses: actions/setup-node@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
name: Build JavaScript assets
runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
steps:
- name: Clone repository
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

Expand Down

0 comments on commit eaa628d

Please sign in to comment.