Skip to content

Commit

Permalink
fix: use repo owner to run skyline command
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Jan 26, 2025
1 parent 55babdd commit bd81e4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/skyline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
YEAR=$(date --date="$(date +%Y-%m-02) -1 month" +%Y)
MONTH_NAME=$(date --date="$(date +%Y-%m-02)" +%B)
FILENAME="assets/gh-stl/davidsneighbour-${YEAR}-github-skyline.stl"
gh skyline --output $FILENAME --year $YEAR
REPO_OWNER=$(gh repo view --json owner --jq '.owner.login')
gh skyline --user $REPO_OWNER --output $FILENAME --year $YEAR
echo "FILENAME=$FILENAME" >> $GITHUB_ENV
echo "YEAR=$YEAR" >> $GITHUB_ENV
echo "MONTH_NAME=$MONTH_NAME" >> $GITHUB_ENV
Expand Down

0 comments on commit bd81e4d

Please sign in to comment.