Skip to content

Commit e209827

Browse files
committed
testing
1 parent 979d258 commit e209827

File tree

2 files changed

+40
-40
lines changed

2 files changed

+40
-40
lines changed

.Readme Updater

.github/workflows/main.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
# name: py
1+
name: py
22

3-
# on:
4-
# # schedule:
5-
# # - cron: "25 8 * * *" #runs at 12am PST each day
3+
on:
4+
# schedule:
5+
# - cron: "25 8 * * *" #runs at 12am PST each day
66

7-
# push:
8-
# branches:
9-
# - main
7+
push:
8+
branches:
9+
- main
1010

11-
# permissions:
12-
# contents: write
11+
permissions:
12+
contents: write
1313

14-
# jobs:
15-
# build:
16-
# runs-on: ubuntu-latest
17-
# steps:
18-
# - name: Checkout current repository content for latest
19-
# uses: actions/checkout@v2
20-
# with:
21-
# submodules: 'true'
22-
# token: ${{ secrets.PAT }}
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout current repository content for latest
19+
uses: actions/checkout@v2
20+
with:
21+
submodules: 'true'
22+
token: ${{ secrets.PAT }}
2323

24-
# - name: Setup python 3.10
25-
# uses: actions/setup-python@v4
26-
# with:
27-
# python-version: '3.10'
28-
# cache: 'pip'
24+
- name: Setup python 3.10
25+
uses: actions/setup-python@v4
26+
with:
27+
python-version: '3.10'
28+
cache: 'pip'
2929

30-
# - name: Install python packages
31-
# run: |
32-
# python -m pip install --upgrade pip
33-
# pip install -r '.Readme Updater/requirements.txt'
30+
- name: Install python packages
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install -r '.Readme Updater/requirements.txt'
3434
35-
# - name: Execute the markdown generation python script
36-
# # run: python '.Readme Updater/main.py -n'
37-
# # On pause for now since I need to rest so let's use the one that doesn't properly date everything
38-
# # run: python '.Readme Updater/main.py' -n -g
39-
# run: python '.Readme Updater/main.py' -n
35+
- name: Execute the markdown generation python script
36+
# run: python '.Readme Updater/main.py -n'
37+
# On pause for now since I need to rest so let's use the one that doesn't properly date everything
38+
# run: python '.Readme Updater/main.py' -n -g
39+
run: python '.Readme Updater/main.py' -n
4040

41-
# - name: Commit updated markdown files to repo
42-
# run: |
43-
# git config --global user.name "Zanger67/leetcode"
44-
# git config --global user.email "Zanger67[bot]@zanger67.github.io"
45-
# git add .
46-
# git commit -m 'Updated markdown files'
47-
# git push
41+
- name: Commit updated markdown files to repo
42+
run: |
43+
git config --global user.name "Zanger67/leetcode"
44+
git config --global user.email "Zanger67[bot]@zanger67.github.io"
45+
git add .
46+
git commit -m 'Updated markdown files'
47+
git push

0 commit comments

Comments
 (0)