Skip to content

Commit

Permalink
Merge pull request #4 from 0xcodercrane/development
Browse files Browse the repository at this point in the history
Use repository name
  • Loading branch information
0xcodercrane authored May 3, 2023
2 parents d2cb9f8 + 3b84211 commit e80cbfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cloudflare-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
PRODUCTION_BRANCH: "development"
OUTPUT_DIRECTORY: "static"
run: |
projectName=$(echo $REPOSITORY | sed 's/\//-/g')
IFS='/' read -ra fields <<< "$REPOSITORY"
projectName="${fields[1]}"
echo $projectName
wrangler pages project list > project_list.txt
if grep -q $projectName project_list.txt; then
Expand Down

0 comments on commit e80cbfe

Please sign in to comment.