Skip to content

Commit

Permalink
Migrate site to Github Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kwkwan committed Dec 20, 2023
1 parent cd79032 commit 12e2119
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,17 @@ on:
push:
branches:
- main
- staging
pull_request:
repository_dispatch:
types:
- deploy

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

0 comments on commit 12e2119

Please sign in to comment.