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 authored Dec 8, 2023
1 parent 1803467 commit 422caf7
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 @@ -58,6 +58,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 @@ -70,9 +73,3 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.MM_MARKETPLACE_AWS_ACCESS_KEY_ID_PRODUCTION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.MM_MARKETPLACE_AWS_SECRET_ACCESS_KEY_PRODUCTION }}
run: serverless deploy function -f server --stage production --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 422caf7

Please sign in to comment.