You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUG:
For some strange reasons, this activate command does not work
react-deploy activate $CI_COMMIT_SHORT_SHA development
My deploy.js looks likes this
/* eslint-env node */require('dotenv').config()module.exports=function(deployTarget){constENV={// build: {},build: {localDir: 'build/',deleteRemoved: false,s3Params: {Bucket: 'mys3buckettest',},},}constawsaccessKeyId=process.env.REACT_APP_AWS_ACCESS_KEY_IDconstawssecretAccessKey=process.env.REACT_APP_AWS_SECRET_ACCESS_KEYif(deployTarget==='development'){ENV.build.environment='development'ENV.s3={accessKeyId: `${awsaccessKeyId}`,secretAccessKey: `${awssecretAccessKey}`,region: 'ap-southeast-1',sslEnabled: true,Bucket: 'mys3buckettest',}}if(deployTarget==='staging'){ENV.build.environment='staging'// configure other plugins for staging deploy target here}if(deployTarget==='production'){ENV.build.environment='production'// configure other plugins for production deploy target here}// Note: if you need to build some configuration asynchronously, you can return// a promise that resolves with the ENV object instead of returning the// ENV object synchronously.returnENV}
I can see commit hash changes with s3 upload, but cannot find way to fix this issue. ANY THOUGHTS???
The text was updated successfully, but these errors were encountered:
sssanjaya
changed the title
Activating a specific version use the activate command bug
Activating a specific version using the activate command sometime does not work
Nov 20, 2020
BUG:
For some strange reasons, this activate command does not work
My deploy.js looks likes this
I can see commit hash changes with s3 upload, but cannot find way to fix this issue. ANY THOUGHTS???
The text was updated successfully, but these errors were encountered: