Skip to content

Commit

Permalink
use full path for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Dec 6, 2019
1 parent 34aab0d commit cf3460f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ jobs:
echo $GIT_RELEASE_NOTES
echo "====END===="
echo GITHUB_TAG=$GITHUB_TAG
echo "/home/runner/work/aemdesign-aem-core/aemdesign-aem-core"
ls -l /home/runner/work/aemdesign-aem-core/aemdesign-aem-core
echo "/home/runner/work/aemdesign-aem-core/aemdesign-aem-core/aemdesign-aem-core-deploy/target"
ls -l /home/runner/work/aemdesign-aem-core/aemdesign-aem-core/aemdesign-aem-core-deploy/target
- name: create release with tag ${{ env.GITHUB_TAG }}
id: create_release
Expand All @@ -113,7 +117,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./aemdesign-aem-core-deploy/target/aemdesign-aem-core-deploy-${GITHUB_TAG}.zip
asset_path: /home/runner/work/aemdesign-aem-core/aemdesign-aem-core/aemdesign-aem-core-deploy/target/aemdesign-aem-core-deploy-${GITHUB_TAG}.zip
asset_name: aemdesign-aem-core-deploy-${GITHUB_TAG}.zip
asset_content_type: application/zip

Expand All @@ -124,7 +128,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./aemdesign-aem-services/target/aemdesign-aem-services-${GITHUB_TAG}.zip
asset_path: /home/runner/work/aemdesign-aem-core/aemdesign-aem-core/aemdesign-aem-services/target/aemdesign-aem-services-${GITHUB_TAG}.zip
asset_name: aemdesign-aem-services-${GITHUB_TAG}.zip
asset_content_type: application/zip

Expand All @@ -135,7 +139,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./aemdesign-aem-author/target/aemdesign-aem-author-${GITHUB_TAG}.zip
asset_path: /home/runner/work/aemdesign-aem-core/aemdesign-aem-core/aemdesign-aem-author/target/aemdesign-aem-author-${GITHUB_TAG}.zip
asset_name: aemdesign-aem-author-${GITHUB_TAG}.zip
asset_content_type: application/zip

Expand All @@ -146,7 +150,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./aemdesign-aem-common/target/aemdesign-aem-common-${GITHUB_TAG}.zip
asset_path: /home/runner/work/aemdesign-aem-core/aemdesign-aem-core/aemdesign-aem-common/target/aemdesign-aem-common-${GITHUB_TAG}.zip
asset_name: aemdesign-aem-common-${GITHUB_TAG}.zip
asset_content_type: application/zip

Expand Down

0 comments on commit cf3460f

Please sign in to comment.