Skip to content

Commit

Permalink
fix: github release workflow (#391)
Browse files Browse the repository at this point in the history
* fix: github release workflow

* fix: cleanup run
  • Loading branch information
hschoenenberger authored Apr 30, 2024
1 parent 26c4ecd commit fae8048
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:

# - name: Clean-up project
# uses: PrestaShopCorp/[email protected]
- name: Clean-up project
run: |
rm -rf .git
rm -rf _dev
- name: Create & upload artifact
uses: actions/upload-artifact@v1
Expand Down Expand Up @@ -91,6 +95,7 @@ jobs:
- name: Prepare the production zip
run: |
cd ${{ github.event.repository.name }}/${{ github.event.repository.name }}
chmod +x ./composer.phar
sh ./scripts/bundle-module.sh ${{ github.event.repository.name }}.zip
env:
ENV_FILE: ${{ secrets.PS_ACCOUNTS_ENV_PROD }}
Expand Down Expand Up @@ -132,6 +137,7 @@ jobs:
- name: Prepare the preprod zip
run: |
cd ${{ github.event.repository.name }}/${{ github.event.repository.name }}
chmod +x ./composer.phar
sh ./scripts/bundle-module.sh ${{ github.event.repository.name }}_preprod.zip
- name: Publish the preprod zip
Expand Down

0 comments on commit fae8048

Please sign in to comment.