1
0
Fork 1
mirror of https://github.com/catppuccin/gitea.git synced 2025-06-08 00:17:01 +09:00

ci(release-deploy): use deno v2 (#65)

This commit is contained in:
Hammy 2025-04-15 01:06:53 +01:00 committed by GitHub
parent 1a542607e5
commit 01396a7243
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -8,21 +8,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: catppuccin/setup-deno@v2
- run: deno task build
- name: Upload Pages Artifact
uses: "actions/upload-pages-artifact@v3"
uses: actions/upload-pages-artifact@v3
with:
path: "dist/"
- name: Upload CSS
uses: actions/upload-artifact@v4
with:
@ -35,29 +28,24 @@ jobs:
permissions:
contents: write
pull-requests: write
steps:
- name: "Release"
id: "release"
uses: "googleapis/release-please-action@v4"
uses: googleapis/release-please-action@v4
- name: Download CSS
uses: actions/download-artifact@v4
with:
name: css
path: "dist/"
- name: Create tarball
if: ${{ steps.release.outputs.release_created }}
run: tar czf catppuccin-gitea.tar.gz --directory=./dist .
- name: Upload Release Artifacts
if: ${{ steps.release.outputs.release_created }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz --repo $GITHUB_REPOSITORY
deploy:
needs: "build"
runs-on: "ubuntu-latest"
@ -71,4 +59,4 @@ jobs:
steps:
- name: "Deploy to GitHub Pages"
id: "deployment"
uses: "actions/deploy-pages@v4"
uses: actions/deploy-pages@v4