From c6bba328226292cb4d0758fcc81b61483d32279a Mon Sep 17 00:00:00 2001 From: pcmagas Date: Thu, 25 Jan 2024 23:19:51 +0200 Subject: [PATCH] Test Deploy. --- .github/workflows/build-sass.yml | 12 +++++++++++- .github/workflows/deploy-release.yml | 24 ------------------------ 2 files changed, 11 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/deploy-release.yml diff --git a/.github/workflows/build-sass.yml b/.github/workflows/build-sass.yml index 85c39b0..e61eb58 100644 --- a/.github/workflows/build-sass.yml +++ b/.github/workflows/build-sass.yml @@ -50,4 +50,14 @@ jobs: uses: mathieudutour/github-tag-action@v6.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} - custom_tag: ${{ steps.version.outputs.version }} \ No newline at end of file + custom_tag: ${{ steps.version.outputs.version }} + + - name: Make Css zip + run: | + zip -r cssonly.zip ./dist/*.css + + - uses: ncipollo/release-action@v1 + with: + artifacts: "cssonly.zip" + skipIfReleaseExists: true + name: "CSS files ${{ steps.version.outputs.version }}" \ No newline at end of file diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml deleted file mode 100644 index d83732e..0000000 --- a/.github/workflows/deploy-release.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: deploy-release - -on: - create: - -jobs: - build: - if: ${{ startsWith(github.ref, 'refs/tags/v') }} - runs-on: ubuntu-latest - steps: - - name: Checkout current branch - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Make Css zip - run: | - zip -r cssonly.zip ./dist/*.css - - - uses: ncipollo/release-action@v1 - with: - artifacts: "cssonly.zip" - skipIfReleaseExists: true - name: "CSS files ${{ steps.version.outputs.version }}" \ No newline at end of file