From 15a67c4fc5993e6e3196db07bef8cf8cdaad307b Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Fri, 22 Dec 2023 09:17:56 +0100 Subject: [PATCH] fix: Create a release is not needed, only artifact Signed-off-by: Helio Chissini de Castro --- .github/workflows/build_and_publish.yml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 1998db0..c8cbdc6 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 - + - name: Install postcss-cli run: npm ci @@ -52,26 +52,3 @@ jobs: with: name: website path: ./public - - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false - - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./public - asset_name: website.zip - asset_content_type: application/zip -