Skip to content

Commit 290084b

Browse files
author
Giacomo Licari
committed
Set v1.1.6
1 parent a35c882 commit 290084b

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/deploy.yml renamed to .github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818
deploy:
1919
name: Deployment
2020
runs-on: ubuntu-latest
21-
defaults:
22-
run:
23-
working-directory: ./website
2421

2522
steps:
2623
- name: Cancel Previous Runs
@@ -46,6 +43,7 @@ jobs:
4643
uses: actions/setup-node@v2
4744

4845
- name: Install
46+
working-directory: ./website
4947
run: |
5048
rm -rf .cache
5149
rm -rf build
@@ -54,6 +52,7 @@ jobs:
5452
pip install awscli --upgrade --user
5553
5654
- name: Build App
55+
working-directory: ./website
5756
run: yarn build
5857

5958
- name: Configure AWS Development credentials
@@ -74,20 +73,23 @@ jobs:
7473

7574
# Script to deploy to development environment
7675
- name: 'Deploy to S3: Development'
76+
working-directory: ./website
7777
if: github.ref == 'refs/heads/dev'
7878
run: |
7979
aws s3 sync build/ s3://${{ secrets.DEV_BUCKET_NAME }}/dev --exclude "*.html" --cache-control max-age=0,no-cache,no-store,public
8080
aws s3 sync build/ s3://${{ secrets.DEV_BUCKET_NAME }}/dev --exclude "*" --include "*.html" --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html
8181
8282
# Script to deploy to staging environment
8383
- name: 'Deploy to S3: Staging'
84+
working-directory: ./website
8485
if: github.ref == 'refs/heads/main'
8586
run: |
8687
aws s3 sync build/ s3://${{ secrets.DEV_BUCKET_NAME }}/staging --exclude "*.html" --cache-control max-age=0,no-cache,no-store,public
8788
aws s3 sync build/ s3://${{ secrets.DEV_BUCKET_NAME }}/staging --exclude "*" --include "*.html" --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html
8889
8990
# Script to deploy to release environment
9091
- name: 'Deploy to S3: Release'
92+
working-directory: ./website
9193
if: github.ref == 'refs/heads/release'
9294
run: |
9395
aws s3 sync build/ s3://${{ secrets.RELEASE_BUCKET_NAME }} --delete --exclude "*.html" --exclude "sitemap.xml" --cache-control max-age=86400,public

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.5
1+
1.1.6

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gnosis-docs",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"description": "Gnosis Docs",
55
"main": "README.md",
66
"scripts": {

0 commit comments

Comments
 (0)