diff --git a/.github/workflows/production_deploy_documentation.yml b/.github/workflows/production_deploy_documentation.yml index 0e0ea00e8..55f790a4f 100644 --- a/.github/workflows/production_deploy_documentation.yml +++ b/.github/workflows/production_deploy_documentation.yml @@ -15,12 +15,12 @@ on: default: 'main' permissions: - contents: write - id-token: write - pages: write + id-token: write # required to use OIDC authentication + contents: read # required to checkout the code from the repo + pages: write # for actions/deploy-pages jobs: - build_docs_and_deploy: + build: name: Build the documentation and deploy if: github.repository == 'overturemaps/docs' runs-on: ubuntu-latest @@ -41,7 +41,24 @@ jobs: SCHEMA_BRANCH: ${{ inputs.schema_branch }} run: npm run build - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4 + - name: Setup Pages 🗂️ + uses: actions/configure-pages@v5 + + - name: Upload static files as GH-Pages artifact 📦 + id: docs-website + uses: actions/upload-pages-artifact@v3 with: - folder: build + path: build + + deploy: + name: Deploy to GitHub Pages + needs: build + environment: + name: github-pages + url: https://docs.overturemaps.org/ + runs-on: ubuntu-latest + + steps: + - name: Deploy to GitHub Pages 🚀 + id: docs-website + uses: actions/deploy-pages@v4 diff --git a/static/img/addresses/boston-export.png b/static/img/addresses/boston-export.png index 4a0624bd3..c8a662935 100644 Binary files a/static/img/addresses/boston-export.png and b/static/img/addresses/boston-export.png differ diff --git a/static/img/examples/CARTO_overture_map.png b/static/img/examples/CARTO_overture_map.png index 27ab1489f..8e2d7de58 100644 Binary files a/static/img/examples/CARTO_overture_map.png and b/static/img/examples/CARTO_overture_map.png differ diff --git a/static/img/examples/buildings-milan.png b/static/img/examples/buildings-milan.png index aac1b0488..c059a6af9 100644 Binary files a/static/img/examples/buildings-milan.png and b/static/img/examples/buildings-milan.png differ diff --git a/static/img/examples/places-milan.png b/static/img/examples/places-milan.png index b50f87ada..7225fd898 100644 Binary files a/static/img/examples/places-milan.png and b/static/img/examples/places-milan.png differ diff --git a/static/img/gers/overture-buildings-fema-structures.png b/static/img/gers/overture-buildings-fema-structures.png index 7997a498c..f33eb0560 100644 Binary files a/static/img/gers/overture-buildings-fema-structures.png and b/static/img/gers/overture-buildings-fema-structures.png differ diff --git a/static/img/overture-tiles-header.png b/static/img/overture-tiles-header.png index 257edeeff..6644b8683 100644 Binary files a/static/img/overture-tiles-header.png and b/static/img/overture-tiles-header.png differ