Skip to content

Commit 7d0c617

Browse files
committed
translated README to English
1 parent 36cad55 commit 7d0c617

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
По пушу в ветку master репозитория, который использует этот Github Action, содержимое директорий будет синхронизировано в соответствующие бакеты Google Cloud Storage.
2-
Пример использования и инструкцию смотреть в репозитории: https://github.com/Nakilon/www-nakilon-pro
1+
After pushing to the master branch of the repository that uses this Github Action contents of its directories will be syncronized with corresponding Google Cloud Storage buckets.
2+
3+
---
4+
5+
For example I am now updating my web home page using it. If you want to do the same:
6+
7+
1. make a public static website bucket as explained in relevant [GCP docs](https://cloud.google.com/storage/docs/hosting-static-website)
8+
2. create a Service account without any permissions and download its key file
9+
3. add it in the bucket's permissions settings as Object Admin (finding it by its email)
10+
4. make a Github repo and a folder in it with the same name as your bucket (designed to be able to update multiple buckets from a single repo)
11+
5. in the Secrets tab of repo settings add a secret named "secrets" in the folllowing format: "<bucket1 name> <base64 of the key file> <bucket2 name> <base64 of the key file> ..."
12+
6. add a Workflow to your repo like this: https://github.com/Nakilon/www-nakilon-pro/blob/master/.github/workflows/sync_with_gcs.yaml

action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ inputs:
77
runs:
88
using: docker
99
image: Dockerfile
10-
branding.icon: database
10+
branding:
11+
icon: database
12+
color: blue

0 commit comments

Comments
 (0)