mirror of
https://github.com/ikatyang/emoji-cheat-sheet.git
synced 2026-02-06 07:05:18 +01:00
build: update infra (#652)
This commit is contained in:
20
.github/workflows/update.yml
vendored
20
.github/workflows/update.yml
vendored
@@ -2,28 +2,16 @@ name: Up to Date
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
update:
|
||||
name: Update
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2-beta
|
||||
with:
|
||||
node-version: "16"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn
|
||||
|
||||
- name: Generate Cheat Sheet
|
||||
run: yarn generate
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ./.github/actions/setup
|
||||
- run: pnpm run generate
|
||||
|
||||
- name: Push New Cheat Sheet to Updated Branch
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user