From 6ce421e7503b6b043af4f0fd27cf27900a6b3659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20St=C3=BCckler?= Date: Tue, 24 Oct 2023 11:12:38 +0200 Subject: [PATCH] fix: live deployment --- .github/workflows/deploy.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1f210280..a66e002e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,8 +17,12 @@ permissions: jobs: build: runs-on: ubuntu-latest + environment: github-pages env: - PUBLIC_MAPBOX_TOKEN: "pk.eyJ1IjoicHJleWEyayIsImEiOiJjbGRlc3Y0NWMwZ3NkM3JxcGM1MTY2dTd3In0.nr8qVhhvTHxytqbR-0KFLA" + PUBLIC_MAPBOX_TOKEN: ${{ secrets.PUBLIC_MAPBOX_TOKEN }} + AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }} + INTERVENTIONS_AIRTABLE_BASE_ID: ${{ secrets.INTERVENTIONS_AIRTABLE_BASE_ID }} + NEWS_AIRTABLE_BASE_ID: ${{ secrets.NEWS_AIRTABLE_BASE_ID }} steps: - name: Checkout your repository using git uses: actions/checkout@v2 @@ -26,7 +30,7 @@ jobs: - name: Install, build, and upload your site uses: withastro/action@v0 with: - node-version: 18 + node-version: 20 deploy: needs: build