mirror of
https://github.com/home-assistant/frontend.git
synced 2026-10-01 01:08:50 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
42 lines
977 B
YAML
42 lines
977 B
YAML
name: Design deployment
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
NODE_OPTIONS: --max_old_space_size=6144
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: Design
|
|
url: ${{ steps.deploy.outputs.netlify_url }}
|
|
steps:
|
|
- name: Check out files from GitHub
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup Node and install
|
|
uses: ./.github/actions/setup
|
|
|
|
- name: Build Gallery
|
|
uses: ./.github/actions/build
|
|
with:
|
|
target: build-gallery
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Deploy to Netlify
|
|
id: deploy
|
|
uses: ./.github/actions/netlify-deploy
|
|
with:
|
|
dir: gallery/dist
|
|
auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
|
site-id: ${{ secrets.NETLIFY_GALLERY_SITE_ID }}
|