You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- cron: '0 6 1-25 12 *'# from the 1. December till 25. December every day at 6am
5
+
6
+
workflow_dispatch: # allow to manually start the workflow
7
+
8
+
# push: # (disabled) run on push, be carefull with this setting
9
+
# as the workflow should only be triggered at a rate lower than
10
+
# 4 times a houre to keep traffic on aoc site low
11
+
jobs:
12
+
update:
13
+
runs-on: ubuntu-latest
14
+
steps:
15
+
16
+
- uses: actions/checkout@v2 # clones your repo, make sure the ssh secret is set!
17
+
with:
18
+
ssh-key: ${{ secrets.SSH_KEY }}
19
+
20
+
- uses: joblo2213/aoc-badges-action@v2.1
21
+
with:
22
+
userid: ${{ secrets.AOC_BOARD_ID }} # your user id, see setup on how to obtain
23
+
session: ${{ secrets.AOC_SESSION }} # secret containing session code, see setup on how to obtain
24
+
25
+
# Optional inputs:
26
+
#
27
+
# leaderboard: 'https://adventofcode.com/2020/leaderboard/private/view/00000.json' # The url of the leaderboard from witch the data is fetched. Typically your private leaderboard.
28
+
# file: 'README.md' # The file that contains the badges
29
+
# dayRegex: '(?<=https:\/\/img\.shields\.io\/badge\/day%20📅-)[0-9]+(?=-blue)' # Regular expression that finds the content of the day badge iun your file.
30
+
# starsRegex: '(?<=https:\/\/img\.shields\.io\/badge\/stars%20⭐-)[0-9]+(?=-yellow)' # Regular expression that finds the content of the stars badge iun your file.
31
+
# daysCompletedRegex: '(?<=https:\/\/img\.shields\.io\/badge\/days%20completed-)[0-9]+(?=-red)' # Regular expression that finds the content of the days completed badge iun your file.
32
+
33
+
- uses: stefanzweifel/git-auto-commit-action@v4
34
+
name: Push changes # Step that pushes these local changes back to your github repo
0 commit comments