Skip to content

Commit 8f205ec

Browse files
Setting client path to / - Setting public permission to GCS Bucket
1 parent 89e6489 commit 8f205ec

File tree

3 files changed

+3
-28
lines changed

3 files changed

+3
-28
lines changed

.semaphore/client-deploy.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ blocks:
3939
- cache restore client-build-$SEMAPHORE_WORKFLOW_ID
4040

4141
# Deploy to Google Cloud Storage
42-
- gsutil -m rsync -r build gs://$BUCKET_NAME/semaphore-demo-javascript
43-
- gsutil web set -m semaphore-demo-javascript/index.html gs://$BUCKET_NAME
42+
- gsutil -m rsync -r build gs://$BUCKET_NAME
43+
- gsutil iam ch allUsers:objectViewer gs://$BUCKET_NAME
44+
- gsutil web set -m index.html -e 404.html gs://$BUCKET_NAME

.semaphore/secrets/gh-pages-secret.sample.yml

-25
This file was deleted.

src/client/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "@semaphoreci/semaphore-demo-javascript",
33
"version": "0.1.0",
44
"license": "MIT",
5-
"homepage": "https://loginwashere.github.io/semaphore-demo-javascript",
65
"dependencies": {
76
"@material-ui/core": "^3.9.2",
87
"@material-ui/icons": "^3.0.2",

0 commit comments

Comments
 (0)