Skip to content

Commit

Permalink
Fix artifact path (#403)
Browse files Browse the repository at this point in the history
* Remove serverless artifact upload, it's not packaged to the local disk
* Fix permissions for uploaded artifact
  • Loading branch information
mvitale1989 committed Dec 11, 2023
1 parent 3140493 commit eabfc34
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
with:
name: marketplace-build
path: dist/
# Required because of https://github.com/actions/upload-artifact/issues/38
- name: deploy/set-artifact-permissions
run: chmod +x dist/*
- name: deploy/master-branch
if: ${{ github.ref_name == 'master' }}
env:
Expand All @@ -82,9 +85,3 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.MM_MARKETPLACE_AWS_ACCESS_KEY_ID_STAGING }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.MM_MARKETPLACE_AWS_SECRET_ACCESS_KEY_STAGING }}
run: serverless deploy function -f server --stage beta --verbose
- name: deploy/persist-lambda-artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: marketplace-lambda-artifact
path: .serverless/mattermost-marketplace.zip
retention-days: 7

0 comments on commit eabfc34

Please sign in to comment.