Skip to content
This repository has been archived by the owner on Jul 24, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
divlook committed Apr 4, 2021
2 parents 7da6939 + 53c572c commit 6c9f6c1
Show file tree
Hide file tree
Showing 8 changed files with 299 additions and 237 deletions.
48 changes: 25 additions & 23 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,31 @@ on:
- "main"

jobs:
docgen:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install
run: |
[ -f ./yarn.lock ] && yarn || npm i
- name: Document Generation
run: npm run docs

- name: Git Auto Commit
uses: stefanzweifel/git-auto-commit-action@v4.4.1
with:
commit_message: 'docs: pixel-art'
file_pattern: docs/*
commit_user_name: github-actions[bot]
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
push_options: '--force'

release:
needs: docgen
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -30,29 +54,6 @@ jobs:
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}

docgen:
needs: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install
run: |
[ -f ./yarn.lock ] && yarn || npm i
- name: Document Generation
run: npm run docs

- name: Git Auto Commit
uses: stefanzweifel/git-auto-commit-action@v4.4.1
with:
commit_message: 'docs: pixel-art'
file_pattern: docs/*
commit_user_name: github-actions[bot]
commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
push_options: '--force'

gh-pages:
needs: release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -92,5 +93,6 @@ jobs:
with:
target_branch: gh-pages
build_dir: dist
commit_message: 'chore(release): Deploy to GitHub pages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Pixel Art

[![Auto release](https://github.com/divlook/pixel-art/actions/workflows/auto-release.yml/badge.svg)](https://github.com/divlook/pixel-art/actions/workflows/auto-release.yml)
[![GitHub release](https://img.shields.io/github/release/divlook/pixel-art.svg)](https://github.com/divlook/pixel-art/releases)

# Pixel Art

## Demo

- https://divlook.github.io/pixel-art
Expand Down
File renamed without changes.
Loading

0 comments on commit 6c9f6c1

Please sign in to comment.