fix search object query parameters #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: S3DeployProd | |
on: | |
push: | |
branches: [ main ] | |
env: | |
NODE_ENV: production | |
APP_TITLE: ALeRCE Explorer | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
environment: production | |
permissions: | |
id-token: write | |
contents: read | |
env: | |
AWS_BUCKET_NAME: ${{ secrets.AWS_BUCKET_NAME }} | |
AWS_CLOUDFRONT: ${{ secrets.AWS_CLOUDFRONT_ID }} | |
AVRO_API_BASE_URL: ${{ secrets.AVRO_API_BASE_URL }} | |
CATSHTM_API_BASE_URL: ${{ secrets.CATSHTM_API_BASE_URL }} | |
GOOGLE_REDIRECT_URI: ${{ secrets.GOOGLE_REDIRECT_URI }} | |
TNS_API_BASE_URL: ${{ secrets.TNS_API_BASE_URL }} | |
USERS_API_BASE_URL: ${{ secrets.USERS_API_BASE_URL }} | |
ZTF_API_BASE_URL: ${{ secrets.ZTF_API_BASE_URL }} | |
ZTF_DR_API_BASE_URL: ${{ secrets.ZTF_DR_API_BASE_URL }} | |
steps: | |
- name: Configure AWS credentials | |
id: creds | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.AWS_ROLE }} | |
aws-region: us-east-1 | |
output-credentials: true | |
unset-current-credentials: true | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- run: npm install | |
- run: npm run generate | |
- run: npm run deploy |