Skip to content

Commit

Permalink
merge: Merge pull request #5 from DSD-DBS/fix-publish-workflow
Browse files Browse the repository at this point in the history
ci: Fix publish and zip workflow
  • Loading branch information
ewuerger authored Aug 22, 2023
2 parents d253c92 + 0ac508f commit c67c428
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
uses: actions/checkout@v3
- name: Zip Template Folder
run: |
mkdir ${{ env.TEMPLATE_FILENAME }} && cp -r template/* ${{ env.TEMPLATE_FILENAME }}
zip -r ${{ env.TEMPLATE_FILENAME }}.zip ${{ env.TEMPLATE_FILENAME }}
mkdir ${{ vars.TEMPLATE_FILENAME }} && cp -r template/* ${{ vars.TEMPLATE_FILENAME }}
zip -r ${{ vars.TEMPLATE_FILENAME }}.zip ${{ vars.TEMPLATE_FILENAME }}
- name: Create Artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -41,6 +41,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ env.TEMPLATE_FILENAME }}.zip
asset_name: ${{ env.TEMPLATE_FILENAME }}.zip
asset_path: ./${{ vars.TEMPLATE_FILENAME }}.zip
asset_name: ${{ vars.TEMPLATE_FILENAME }}.zip
asset_content_type: application/zip

0 comments on commit c67c428

Please sign in to comment.