Change copy #148
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
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: aws-actions/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
- run: aws s3 sync public/images s3://${{ secrets.S3_BUCKET_PUBLIC }}/images | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- run: sbt clean dist | |
- run: wget https://files.cloudcaptain.sh/com/boxfuse/client/boxfuse-commandline/1.35.2.1525/boxfuse-commandline-1.35.2.1525-linux-x64.tar.gz | |
- run: tar xf boxfuse-commandline-1.35.2.1525-linux-x64.tar.gz | |
- run: ./boxfuse/boxfuse run | |
-user=${{ secrets.BOXFUSE_USER }} | |
-secret=${{ secrets.BOXFUSE_SECRET }} | |
-envvars.BATTLE_QUEUE_IN_URL=${{ secrets.BATTLE_QUEUE_IN_URL }} | |
-envvars.BATTLE_QUEUE_OUT_URL=${{ secrets.BATTLE_QUEUE_OUT_URL }} | |
-envvars.QUEUE_ENABLED=true | |
-envvars.USE_MOCK_QUEUE=false | |
-envvars.EMAIL_PASSWORD=${{ secrets.EMAIL_PASSWORD }} | |
-envvars.SECRET_KEY='${{ secrets.SECRET_KEY }}' | |
-envvars.ASSETS_PATH=${{ secrets.CLOUDFRONT_URL }} | |
-envvars.AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} | |
-envvars.AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
-envvars.SMTP_USERNAME=${{ secrets.SMTP_USERNAME }} | |
-envvars.SMTP_PASSWORD=${{ secrets.SMTP_PASSWORD }} | |
-envvars.BUILTIN_USER_ID=108 | |
-envvars.LEADERBOARD_ID=2 | |
-jvm.args="-Ddb.default_.migration.auto=true -Dsentry.dsn=${{ secrets.SENTRY_DSN }}" | |
-ports.http=80 | |
-components.openjdk=11.0.13 | |
-env=prod | |
# https://github.com/boxfuse/boxfuse-issues/issues/180 |