Added missing trailing slash to staging endpoint
This commit is contained in:
parent
82772f0b08
commit
3985b30cce
1 changed files with 4 additions and 2 deletions
4
.github/workflows/deploy-staging.yaml
vendored
4
.github/workflows/deploy-staging.yaml
vendored
|
@ -3,11 +3,12 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- ci/staging/**
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
env:
|
env:
|
||||||
API_URI: https://master.staging.saleor.cloud/graphql
|
API_URI: https://master.staging.saleor.cloud/graphql/
|
||||||
APP_MOUNT_URI: /dashboard/
|
APP_MOUNT_URI: /dashboard/
|
||||||
STATIC_URL: /dashboard/static/
|
STATIC_URL: /dashboard/static/
|
||||||
steps:
|
steps:
|
||||||
|
@ -40,3 +41,4 @@ jobs:
|
||||||
aws s3 sync build/dashboard s3://${{ secrets.AWS_STAGING_DEPLOYMENT_BUCKET }}/saleor-master-staging/static/
|
aws s3 sync build/dashboard s3://${{ secrets.AWS_STAGING_DEPLOYMENT_BUCKET }}/saleor-master-staging/static/
|
||||||
aws s3 cp build/dashboard/index.html s3://${{ secrets.AWS_STAGING_DEPLOYMENT_BUCKET }}/saleor-master-staging/
|
aws s3 cp build/dashboard/index.html s3://${{ secrets.AWS_STAGING_DEPLOYMENT_BUCKET }}/saleor-master-staging/
|
||||||
aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_STAGING_CF_DIST_ID }} --paths "/dashboard*"
|
aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_STAGING_CF_DIST_ID }} --paths "/dashboard*"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue