mirror of
https://github.com/catppuccin/gitea.git
synced 2024-11-25 08:01:02 -05:00
ci: make sure to upload/download built CSS (#30)
Co-authored-by: Hammy <58985301+sgoudham@users.noreply.github.com>
This commit is contained in:
parent
7eb75bf808
commit
0ba2dd1dae
1 changed files with 12 additions and 5 deletions
17
.github/workflows/release-deploy.yml
vendored
17
.github/workflows/release-deploy.yml
vendored
|
@ -23,11 +23,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: "dist/"
|
path: "dist/"
|
||||||
|
|
||||||
|
- name: Upload CSS
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: css
|
||||||
|
path: "dist/"
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: "build"
|
needs: "build"
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
@ -37,6 +41,12 @@ jobs:
|
||||||
id: "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
|
- name: Create tarball
|
||||||
if: ${{ steps.release.outputs.release_created }}
|
if: ${{ steps.release.outputs.release_created }}
|
||||||
run: tar czf catppuccin-gitea.tar.gz --directory=./dist .
|
run: tar czf catppuccin-gitea.tar.gz --directory=./dist .
|
||||||
|
@ -50,13 +60,10 @@ jobs:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: "build"
|
needs: "build"
|
||||||
|
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pages: "write"
|
pages: "write"
|
||||||
id-token: "write"
|
id-token: "write"
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
name: "github-pages"
|
name: "github-pages"
|
||||||
url: "${{ steps.deployment.outputs.page_url }}"
|
url: "${{ steps.deployment.outputs.page_url }}"
|
||||||
|
|
Loading…
Reference in a new issue