Update release.yml

This commit is contained in:
XenGi 2023-06-14 11:39:36 +02:00 committed by GitHub
parent e1e7eba9c9
commit 80c56f0362
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ jobs:
uses: thedoctor0/zip-release@0.7.1 uses: thedoctor0/zip-release@0.7.1
with: with:
type: zip type: zip
filename: release-staging-${{ env.timestamp }}.zip filename: ../release-staging-${{ env.timestamp }}.zip
directory: public directory: public
- name: Create Release - name: Create Release
uses: ncipollo/release-action@v1.12.0 uses: ncipollo/release-action@v1.12.0
@ -94,7 +94,7 @@ jobs:
tag: staging-${{ env.timestamp }} tag: staging-${{ env.timestamp }}
name: Website staging version ${{ env.timestamp }} name: Website staging version ${{ env.timestamp }}
body: Website staging version ${{ env.timestamp }} body: Website staging version ${{ env.timestamp }}
artifacts: "release-staging-${{ env.timestamp }}.zip" artifacts: release-staging-${{ env.timestamp }}.zip
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
release: release:
@ -114,7 +114,7 @@ jobs:
uses: thedoctor0/zip-release@0.7.1 uses: thedoctor0/zip-release@0.7.1
with: with:
type: zip type: zip
filename: release-production-${{ env.timestamp }}.zip filename: ../release-production-${{ env.timestamp }}.zip
directory: public directory: public
- name: Create Release - name: Create Release
uses: ncipollo/release-action@v1.12.0 uses: ncipollo/release-action@v1.12.0
@ -123,5 +123,5 @@ jobs:
tag: production-${{ env.timestamp }} tag: production-${{ env.timestamp }}
name: Website production version ${{ env.timestamp }} name: Website production version ${{ env.timestamp }}
body: Website production version ${{ env.timestamp }} body: Website production version ${{ env.timestamp }}
artifacts: "release-production-${{ env.timestamp }}.zip" artifacts: release-production-${{ env.timestamp }}.zip
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}