chore(deps): update taiga-family/ci action to v1.91.0 (#9303) #5180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚀 Snapshots | |
on: | |
push: | |
branches: [main, 'v[0-9]+.x', 'release/**'] | |
workflow_dispatch: | |
inputs: | |
updateMain: | |
type: boolean | |
required: false | |
description: update main snapshots | |
jobs: | |
next-snapshot: | |
name: Push next snapshot | |
if: ${{ !contains(github.head_ref || github.ref_name, 'release/') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.0 | |
- uses: taiga-family/ci/actions/setup/variables@v1.91.0 | |
- uses: taiga-family/ci/actions/setup/node@v1.91.0 | |
- run: npx nx build demo | |
- run: tree ${{ env.DIST }} -P '*.html' | |
- uses: s0/git-publish-subdir-action@v2.6.0 | |
env: | |
REPO: self | |
FOLDER: ${{ env.DIST }} | |
BRANCH: snapshots/demo/next/${{ github.head_ref || github.ref_name }} | |
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | |
production-snapshot: | |
name: Push production snapshot | |
if: ${{ contains(github.head_ref || github.ref_name, 'release/') || github.event.inputs.updateMain == 'true' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.0 | |
- uses: taiga-family/ci/actions/setup/variables@v1.91.0 | |
- uses: taiga-family/ci/actions/setup/node@v1.91.0 | |
id: nodejs-workspace | |
- run: npx nx prerender demo | |
- run: tree ${{ env.DIST }} -P '*.html' | |
- uses: s0/git-publish-subdir-action@v2.6.0 | |
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: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |