Skip to content

Commit

Permalink
fix(integration-templates): [nan-1366] add .nango dir and fix path (N…
Browse files Browse the repository at this point in the history
…angoHQ#2500)

## Describe your changes
- Add the `.nango` directory on template upload
- Fix the path of the sync template to be the integration instead of the
dir

## Issue ticket number and link
NAN-1366

## Checklist before requesting a review (skip if just adding/editing
APIs & templates)
- [ ] I added tests, otherwise the reason is: 
- [ ] I added observability, otherwise the reason is:
- [ ] I added analytics, otherwise the reason is:
  • Loading branch information
khaliqgant authored Jul 11, 2024
1 parent 33747a7 commit 12d2234
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/integration-template-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
nango compile
cp -r dist/ $wd/$dir/
cp -r .nango/ $wd/$dir/
cd -
rm -rf /tmp/nango-temp
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sync-integration-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ jobs:
popd
cp -r /tmp/nango-temp/nango-integrations/dist ./$integration/dist
cp -r /tmp/nango-temp/nango-integrations/.nango ./$integration/.nango
rm -rf /tmp/nango-temp
aws s3 sync $dir s3://${{ secrets.AWS_BUCKET_NAME }}/$integration/
aws s3 sync $integration s3://${{ secrets.AWS_BUCKET_NAME }}/$integration/
done
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 12d2234

Please sign in to comment.