Skip to content

Commit

Permalink
place copy step correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Nov 25, 2024
1 parent ef39c5b commit 44de7ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ jobs:
run: |
echo "DEPLOY_VERSION=$(date +%Y%m%d-%H%M%S)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Copy release draft template
run: cp src/plugins/ReleaseDrafter/draft_template.njk dist/plugins/ReleaseDrafter

- name: Package Lambda functions
run: |
cd dist
zip -r ../probot-${{ env.DEPLOY_VERSION }}.zip .
cd ..
zip -r authorizer-${{ env.DEPLOY_VERSION }}.zip dist/authorizer.js
- name: Copy release draft template
run: cp src/plugins/ReleaseDrafter/draft_template.njk dist/plugins/ReleaseDrafter

- name: Upload to S3
if: github.ref == 'refs/heads/main'
run: |
Expand Down

0 comments on commit 44de7ea

Please sign in to comment.