From 290084b1faaa4e5a748d7a9185e8f10b8ac1451f Mon Sep 17 00:00:00 2001 From: Giacomo Licari Date: Wed, 10 Jan 2024 14:27:25 +0100 Subject: [PATCH] Set v1.1.6 --- .github/{ => workflows}/deploy.yml | 8 +++++--- VERSION | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) rename .github/{ => workflows}/deploy.yml (96%) diff --git a/.github/deploy.yml b/.github/workflows/deploy.yml similarity index 96% rename from .github/deploy.yml rename to .github/workflows/deploy.yml index 8ac9c23..b65f206 100644 --- a/.github/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,9 +18,6 @@ jobs: deploy: name: Deployment runs-on: ubuntu-latest - defaults: - run: - working-directory: ./website steps: - name: Cancel Previous Runs @@ -46,6 +43,7 @@ jobs: uses: actions/setup-node@v2 - name: Install + working-directory: ./website run: | rm -rf .cache rm -rf build @@ -54,6 +52,7 @@ jobs: pip install awscli --upgrade --user - name: Build App + working-directory: ./website run: yarn build - name: Configure AWS Development credentials @@ -74,6 +73,7 @@ jobs: # Script to deploy to development environment - name: 'Deploy to S3: Development' + working-directory: ./website if: github.ref == 'refs/heads/dev' run: | aws s3 sync build/ s3://${{ secrets.DEV_BUCKET_NAME }}/dev --exclude "*.html" --cache-control max-age=0,no-cache,no-store,public @@ -81,6 +81,7 @@ jobs: # Script to deploy to staging environment - name: 'Deploy to S3: Staging' + working-directory: ./website if: github.ref == 'refs/heads/main' run: | aws s3 sync build/ s3://${{ secrets.DEV_BUCKET_NAME }}/staging --exclude "*.html" --cache-control max-age=0,no-cache,no-store,public @@ -88,6 +89,7 @@ jobs: # Script to deploy to release environment - name: 'Deploy to S3: Release' + working-directory: ./website if: github.ref == 'refs/heads/release' run: | aws s3 sync build/ s3://${{ secrets.RELEASE_BUCKET_NAME }} --delete --exclude "*.html" --exclude "sitemap.xml" --cache-control max-age=86400,public diff --git a/VERSION b/VERSION index e25d8d9..0664a8f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.5 +1.1.6 diff --git a/package.json b/package.json index 1521b85..f65b405 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gnosis-docs", - "version": "1.1.5", + "version": "1.1.6", "description": "Gnosis Docs", "main": "README.md", "scripts": {