Skip to content

chore: generate an array of icons used on demo-page (#5651) #2186

chore: generate an array of icons used on demo-page (#5651)

chore: generate an array of icons used on demo-page (#5651) #2186

Workflow file for this run

name: 🚀 Snapshots
on:
push:
branches: [main, 'v[0-9]+.x', 'release/**']
workflow_dispatch:
jobs:
snapshots-next:
if: ${{ !contains(github.head_ref || github.ref_name, 'release/') }}
name: next
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npx nx build demo -c next
- run: tree ${{ env.DIST }} -P '*.html'
- name: Publish snapshots
uses: s0/[email protected]
env:
REPO: self
FOLDER: ${{ env.DIST }}/next
BRANCH: snapshots/demo/next/${{ github.head_ref || github.ref_name }}
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
snapshots-of-release:
if: ${{ contains(github.head_ref || github.ref_name, 'release/') }}
name: production
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
id: nodejs-workspace
- run: npx nx build demo --configuration production
- run: tree ${{ env.DIST }} -P '*.html'
- name: Publish snapshots
uses: s0/[email protected]
env:
REPO: self
FOLDER: ${{ env.DIST }}
BRANCH: snapshots/demo/v${{ steps.nodejs-workspace.outputs.root-package-major-version }}.x
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
concurrency:
group: snapshots-${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true