Fix failing build

roadmap/copy
Kamran Ahmed 1 year ago
parent 8310671123
commit e34695e334
  1. 4
      .env.example
  2. 1
      .github/workflows/deploy.yml
  3. 2
      scripts/generate-renderer.sh

@ -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=
PUBLIC_EDITOR_APP_URL=https://draw.roadmap.sh

@ -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 }}

@ -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

Loading…
Cancel
Save