Skip to content

Commit 04df798

Browse files
committed
Update GHA workflow
1 parent 2dc7cf6 commit 04df798

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/build-container.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
- name: Checkout repository
2929
uses: actions/checkout@v4
3030

31+
- name: Pull the latest metadata.json
32+
if: inputs.image_name == 'awesome-copilot'
33+
shell: bash
34+
run: |
35+
git pull origin main
36+
3137
- name: Checkout repository - Awesome Copilot
3238
if: inputs.image_name == 'awesome-copilot'
3339
uses: actions/checkout@v4
@@ -36,16 +42,6 @@ jobs:
3642
path: awesome-copilot/src/awesome-copilot
3743
token: ${{ secrets.GITHUB_TOKEN }}
3844

39-
- name: Pull the latest awesome-copilot repository
40-
if: inputs.image_name == 'awesome-copilot'
41-
shell: bash
42-
run: |
43-
pushd awesome-copilot/src/awesome-copilot
44-
45-
git pull origin main
46-
47-
popd
48-
4945
- name: Set up Node.js
5046
if: inputs.image_name == 'awesome-copilot'
5147
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)