Add services notification and unify colors #20
Workflow file for this run
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: Build website | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
name: "build foxglove" | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
with: | |
lfs: true | |
- name: setup node | |
uses: actions/[email protected] | |
with: | |
node-version: 16.17 | |
- name: enable corepack | |
run: corepack enable yarn | |
- name: install dependencies | |
run: | | |
yarn install --immutable | |
- name: build project | |
run: | | |
yarn run web:build:prod | |
- name: compress build artifacts | |
run: tar -czf web-build.tar.gz -C web/.webpack . | |
- name: create release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: web-build.tar.gz | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |