From 12e2119c2b8d9bad21593fea5b02a5b6f8e9b2d3 Mon Sep 17 00:00:00 2001 From: KW Kwan Date: Wed, 20 Dec 2023 16:13:50 +0800 Subject: [PATCH] Migrate site to Github Pages --- .github/workflows/build.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a53831c..cc1ccb0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - staging pull_request: repository_dispatch: types: @@ -12,18 +11,10 @@ on: jobs: build-deploy: - uses: geolexica/ci/.github/workflows/site-deploy.yml@main + uses: geolexica/ci/.github/workflows/site-deploy-github-pages.yml@main with: ref: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.ref || github.ref }} repository: geolexica/osgeo-glossary concepts-path: osgeo-glossary production-branch: refs/heads/main - staging-branch: refs/heads/staging production-url: https://osgeo.geolexica.org - staging-url: https://osgeo-staging.geolexica.org - secrets: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.AWS_REGION }} - aws-cf-distribution-id: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} - aws-s3-bucket-name: ${{ secrets.S3_BUCKET_NAME }}