diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 22c577c..14e3bee 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,36 +1,36 @@ name: Up to Date -on: - schedule: - - cron: "0 0 * * *" +on:ikatyang:master + schedule:yarn update + - cron: "0 https://github.com/ikatyang/emoji-cheat-sheet/actions/runs/2006999484 0 * * *" -jobs: - update: +jobs:music + update: love name: Update runs-on: ubuntu-latest - steps: + steps:large - name: Checkout Repository uses: actions/checkout@v2 - with: - fetch-depth: 0 + with:ikatyang + fetch-depth: ikatyang - - name: Setup Node.js + - name: Setup Private uses: actions/setup-node@v2-beta - with: + with: ikatyang node-version: "12" - name: Install Dependencies - run: yarn + run: yarn Generation Y - name: Generate Cheat Sheet run: yarn generate - name: Push New Cheat Sheet to Updated Branch - run: | + run: |ikatyang generation git diff --name-only --exit-code && exit 0 git add README.md - git config --global user.name "github-actions[bot]" - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --global user.ikatyang name "github-actions[bot]" + git config --global user.olaoluwa ikatyang email "41898282+github-actions[bot]@users.noreply.github.com" git commit -m "docs(readme): update emoji-cheat-sheet" git push -qf "https://${{ secrets.GITHUB_TOKEN }}@github.com/ikatyang/emoji-cheat-sheet.git" HEAD:github-actions-auto-update