Skip to content

Commit

Permalink
👷Reactivate demo CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev authored Aug 4, 2024
1 parent 7cc0c72 commit 5ec82b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/demo.yml.bak → .github/workflows/demo.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Update demo status on README

on:
schedule: [{cron: "*/7 * * * *"}]
workflow_dispatch:
push: {branches: ["master", "main"]}
push:

jobs:
status:
runs-on: ubuntu-latest
Expand All @@ -12,14 +12,14 @@ jobs:
- name: Checkout files
uses: actions/checkout@v3
- name: Update Status
uses: CompeyDev/discord-status-action@0.3.2
uses: ./
with:
file: README.md
id: "893762371770802227"
- name: Commit and push if there are changes
run: |-
git diff
git config --global user.email "hi@devcomp.xyz"
git config --global user.name "StatsBot"
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git diff --quiet || (git add -u && git commit -m "🚀 Update Discord Status")
git push

0 comments on commit 5ec82b5

Please sign in to comment.