AdventOfCode2021

Puzzles from

https://adventofcode.com/2021/

My solutions

https://sergiorgiraldo.github.io/AdventOfCode2021/solutions/

Performance

Usage

Setup

  1. Enable github pages: repo settings > pages > deploy from branch main, root
  2. Configure release-please workflow a. Change the year
  3. Configure “update stars in readme” workflow a. create a PAT with repo permissions and store in secrets (GH_PAT_AOCYYYY, replace YYYY with year from advent), update the name in the chekcout step b. change the year in the workflow c. double-check the aoc userid and session d. hints in the pages:
    • https://www.adebayosegun.com/blog/push-to-protected-branch-gh-action
    • https://github.com/marketplace/actions/aoc-badges
  4. Change the year in package.json and set version to 0.0.0
  5. Change the year in the readme
  6. Change ITERATION to 0.0.1

Based in

https://github.com/johnbeech/advent-of-code-nodejs-template