mirror of
https://github.com/clarencechaan/ufc-cal.git
synced 2026-10-19 00:38:30 -07:00
Create main.yml
This commit is contained in:
1 parent
c01615d999
commit
f49edb29ba
1 file changed
+22
@@ -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 "[email protected]"
|
||||
git checkout ics
|
||||
git add UFC.ics
|
||||
git commit -m "Update UFC.ics"
|
||||
git push -u origin ics
|
||||
Reference in new issue
Block a user