Skip to content

Commit

Permalink
Update posters.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
madjin authored Jan 27, 2024
1 parent 17f2317 commit 887e541
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/posters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ if [ -f .env ]; then
source .env
fi

# If GITHUB_TOKEN is not set, check if OMI_SECRET is set as a GitHub action secret
if [ -z "$GITHUB_TOKEN" ] && [ -n "$OMI_SECRET" ]; then
GITHUB_TOKEN="$OMI_SECRET"
fi

# Check if the GITHUB_TOKEN is still empty
if [ -z "$GITHUB_TOKEN" ]; then
echo "Error: GITHUB_TOKEN is not set. Please provide your GitHub personal access token." >&2
Expand Down

0 comments on commit 887e541

Please sign in to comment.