Skip to content

build: use files for svgs #6

build: use files for svgs

build: use files for svgs #6

Workflow file for this run

name: main
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
compile:
if: "!contains(github.event.head_commit.message, '[skip-ci]')"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
run: npm i
- name: Compile
run: npm run build
- name: Commit
run: |
git checkout -b dist
git add -f dist
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -m "$(git log -1 --pretty=format:%B)"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true
branch: dist