From 3df58079ed48d1800fd3a70bb37afb2442268672 Mon Sep 17 00:00:00 2001 From: ENT8R Date: Wed, 14 Feb 2024 20:48:35 +0100 Subject: [PATCH] :construction_worker: Change Github Actions parameters to use OAuth2 secrets --- .github/actions/build/action.yml | 12 ++++++------ .github/workflows/gh-pages.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index e3fd330..cdd76d6 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -5,10 +5,10 @@ inputs: description: 'The URL of the NotesReview API' openstreetmap-server: description: 'The URL of the OpenStreetMap server' - openstreetmap-oauth-key: - description: 'The OpenStreetMap OAuth key' - openstreetmap-oauth-secret: - description: 'The OpenStreetMap OAuth secret' + openstreetmap-oauth-client-id: + description: 'The OpenStreetMap OAuth client id' + openstreetmap-oauth-client-secret: + description: 'The OpenStreetMap OAuth client secret' mapillary-client-id: description: 'The Mapillary client id' @@ -21,8 +21,8 @@ runs: env: NOTESREVIEW_API_URL: ${{ inputs.notesreview-api-url }} OPENSTREETMAP_SERVER: ${{ inputs.openstreetmap-server }} - OPENSTREETMAP_OAUTH_KEY: ${{ inputs.openstreetmap-oauth-key }} - OPENSTREETMAP_OAUTH_SECRET: ${{ inputs.openstreetmap-oauth-secret }} + OPENSTREETMAP_OAUTH_CLIENT_ID: ${{ inputs.openstreetmap-oauth-client-id }} + OPENSTREETMAP_OAUTH_CLIENT_SECRET: ${{ inputs.openstreetmap-oauth-client-secret }} MAPILLARY_CLIENT_ID: ${{ inputs.mapillary-client-id }} run: | npm ci diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 29bd195..fa607f1 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -24,8 +24,8 @@ jobs: with: notesreview-api-url: ${{ secrets.NOTESREVIEW_API_URL }} openstreetmap-server: ${{ secrets.OPENSTREETMAP_SERVER }} - openstreetmap-oauth-key: ${{ secrets.OPENSTREETMAP_OAUTH_KEY }} - openstreetmap-oauth-secret: ${{ secrets.OPENSTREETMAP_OAUTH_SECRET }} + openstreetmap-oauth-client-id: ${{ secrets.OPENSTREETMAP_OAUTH_CLIENT_ID }} + openstreetmap-oauth-client-secret: ${{ secrets.OPENSTREETMAP_OAUTH_CLIENT_SECRET }} mapillary-client-id: ${{ secrets.MAPILLARY_CLIENT_ID }} - name: Upload artifact uses: actions/upload-pages-artifact@v1