Skip to content

Commit

Permalink
Update update-lecture.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanferrari committed Jun 18, 2024
1 parent 9cf60d9 commit 6a6aed9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/update-lecture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,13 @@ jobs:
run: sudo apt-get install -y gh

- name: Authenticate with GitHub CLI
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "$GH_TOKEN" | gh auth login --with-token
run: echo "${{ secrets.GH_PAT }}" | gh auth login --with-token

- name: Close issue with comment
env:
LEC_NUM: ${{ env.Lecture_Number }}
DEMO: ${{ env.Demo }}
SLIDES: ${{ env.Slides }}
GH_TOKEN: ${{ secrets.GH_PAT }}
run: |
if [ "$DEMO" == "None" ]; then
DEMO_TEXT="None"
Expand Down

0 comments on commit 6a6aed9

Please sign in to comment.