Skip to content

fix: bugfix for lens (#11132) #27553

fix: bugfix for lens (#11132)

fix: bugfix for lens (#11132) #27553

Workflow file for this run

name: Build
on:
push:
branches: [master, develop, released, hotfix/*, release/*]
pull_request:
branches: [master, develop*, released]
merge_group:
types: [checks_requested]
permissions:
contents: read
pull-requests: write
deployments: write
packages: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
netlify:
runs-on: ubuntu-latest
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
steps:
- name: Get cache date
id: get-date
run: echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
shell: bash
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: "20"
cache: 'pnpm'
- name: Authenticate NPM
uses: DimensionDev/github-token-action@latest
with:
registry: true
- run: git config --global url."https://github.com/".insteadOf [email protected]
- run: pnpm install
- run: npx gulp build-ci-netlify
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2
with:
publish-dir: './packages/netlify/'
production-branch: develop
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-commit-comment: false
enable-pull-request-comment: false
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1