From f49edb29bad559acd491ba10bb261d4876451ea1 Mon Sep 17 00:00:00 2001 From: Clarence Chan <69307556+clarencechaan@users.noreply.github.com> Date: Wed, 13 Sep 2023 16:20:22 -0400 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..86f0089f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: GitHub Self-Updating Repository + +on: [push] + +jobs: + report: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + # https://github.com/actions/checkout/tree/v3.0.2 + uses: actions/checkout@v3 + - name: Modify date and time + run: | + npm start + - name: Push to repository + run: | + git config --global user.name "Clarence Chan" + git config --global user.email "clarencechaan@icloud.com" + git checkout ics + git add UFC.ics + git commit -m "Update UFC.ics" + git push -u origin ics