Skip to content

Commit

Permalink
Comment build-assets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
axelburks authored Mar 12, 2024
1 parent 18d6e05 commit a973154
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/build-assets.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
name: Build assets
# name: Build assets

on:
push:
branches:
- master
paths:
- 'assets/radar-rules.js'
- 'lib/**/maintainer.js'
- 'lib/**/radar-rules.js'
- 'lib/**/radar.js'
# on:
# push:
# branches:
# - master
# paths:
# - 'assets/radar-rules.js'
# - 'lib/**/maintainer.js'
# - 'lib/**/radar-rules.js'
# - 'lib/**/radar.js'

permissions:
contents: read
# permissions:
# contents: read

jobs:
build:
runs-on: ubuntu-latest
name: Build assets
timeout-minutes: 5
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js Active LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
- name: Install dependencies (yarn)
run: pnpm i
- name: Build assets
run: npm run build:all
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./assets
user_name: 'github-actions[bot]'
user_email: '41898282+github-actions[bot]@users.noreply.github.com'
# jobs:
# build:
# runs-on: ubuntu-latest
# name: Build assets
# timeout-minutes: 5
# permissions:
# contents: write
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Install pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8
# - name: Use Node.js Active LTS
# uses: actions/setup-node@v4
# with:
# node-version: lts/*
# cache: 'pnpm'
# - name: Install dependencies (yarn)
# run: pnpm i
# - name: Build assets
# run: npm run build:all
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./assets
# user_name: 'github-actions[bot]'
# user_email: '41898282+github-actions[bot]@users.noreply.github.com'

0 comments on commit a973154

Please sign in to comment.