Skip to content

Commit

Permalink
try to symlink sibling directories to local repos
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanstephens committed Aug 8, 2024
1 parent baf821d commit f0a3698
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,21 @@ jobs:
uses: actions/checkout@v3
with:
repository: DefangLabs/defang
path: ../defang
path: defang
ref: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.version || 'main' }}

- name: Checkout DefangLabs/samples
uses: actions/checkout@v3
with:
repository: DefangLabs/samples
path: ../samples
path: samples
ref: main

- name: symlink samples and defang
run: |
ln -s ../defang defang
ln -s ../samples samples
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,21 @@ jobs:
uses: actions/checkout@v3
with:
repository: DefangLabs/defang
path: ../defang
path: defang
ref: main

- name: Checkout DefangLabs/samples
uses: actions/checkout@v3
with:
repository: DefangLabs/samples
path: ../samples
path: samples
ref: main

- name: symlink samples and defang
run: |
ln -s ../defang defang
ln -s ../samples samples
- name: Set up Go
uses: actions/setup-go@v2
with:
Expand Down

0 comments on commit f0a3698

Please sign in to comment.