1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-30 01:30:53 +02:00

Build script now run manually

This commit is contained in:
Thomas Bui
2020-10-21 13:50:17 -07:00
parent c76ba93470
commit cc4266ebcc
2 changed files with 10 additions and 9 deletions

View File

@@ -1,11 +1,8 @@
name: Build Icons
on:
pull_request:
types: [labeled]
on: workflow_dispatch
jobs:
build:
name: Get Fonts From Icomoon
if: contains(github.event.pull_request.labels.*.name, 'bot:build')
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
@@ -46,7 +43,8 @@ jobs:
uses: peter-evans/create-pull-request@v3
with:
branch: ${{ format('build/{0}', github.head_ref) }}
base: 'develop'
commit-message: 'Built new icons, icomoon.json and devicon.css'
title: 'bot:build new icons, icomoon.json and devicon.css'
body: 'Automated font-building task ran by GitHub Actions bot'
delete-branch: ${{true}}
delete-branch: true