workflows

This commit is contained in:
Pouya Saadeghi 2023-10-19 21:04:07 +03:00
parent 74178c6e5e
commit 7082c77247
1 changed files with 6 additions and 1 deletions

View File

@ -64,9 +64,14 @@ jobs:
- name: Install docs dependencies
run: cd src/docs && ${{ env.runtime }} install
- name: Install daisyUI
- name: Install daisyUI fixed tag if production
if: github.repository == 'saadeghi/daisyui'
run: cd src/docs && ${{ env.runtime }} i daisyui@${{ env.npm-tag }}
- name: Install daisyUI newest version if staging
if: github.repository == 'daisyui/daisyui.github.io'
run: cd src/docs && ${{ env.runtime }} i daisyui@$([[ $(npm view daisyui version) > $(npm view daisyui dist-tags.alpha) ]] && echo "latest" || echo "alpha")
- name: Add robots.txt if staging repo
if: github.repository != 'saadeghi/daisyui'
run: |