diff --git a/.env.example b/.env.example index 2f9faa2d4..f42d92d18 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,3 @@ -PUBLIC_API_URL=http://api.roadmap.sh +PUBLIC_API_URL=https://api.roadmap.sh PUBLIC_AVATAR_BASE_URL=https://dodrc8eu8m09s.cloudfront.net/avatars -PUBLIC_EDITOR_APP_URL= \ No newline at end of file +PUBLIC_EDITOR_APP_URL=https://draw.roadmap.sh \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 01236034c..99bd0d5af 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: branches: [ master ] env: PUBLIC_API_URL: "https://api.roadmap.sh" + PUBLIC_EDITOR_APP_URL: "https://draw.roadmap.sh" PUBLIC_AVATAR_BASE_URL: "https://dodrc8eu8m09s.cloudfront.net/avatars" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PAT: ${{ secrets.PAT }} diff --git a/scripts/generate-renderer.sh b/scripts/generate-renderer.sh index 80f41c92a..d091def8b 100644 --- a/scripts/generate-renderer.sh +++ b/scripts/generate-renderer.sh @@ -3,7 +3,7 @@ set -e rm -rf .temp -git clone git@github.com:roadmapsh/web-draw.git .temp/web-draw +git clone https://"$PAT"@github.com/roadmapsh/web-draw.git .temp/web-draw rm -rf renderer mkdir renderer