File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to staging
2
+ on :
3
+ push :
4
+ branches :
5
+ - chore/github-actions
6
+ jobs :
7
+ push_to_registry :
8
+ name : Push Docker image to Docker Hub
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Check out the repo
12
+ uses : actions/checkout@v2
13
+ - name : Push to Docker Hub
14
+ uses : docker/build-push-action@v1
15
+ with :
16
+ username : ${{ secrets.DOCKER_USERNAME }}
17
+ password : ${{ secrets.DOCKER_PASSWORD }}
18
+ repository : ${{ secrets.DOCKER_USERNAME }}/p5.js-web-editor-staging
19
+ tag_with_ref : true
20
+ target : production
21
+
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ services:
41
41
- ML5_EXAMPLES_USERNAME
42
42
- ML5_EXAMPLES_PASS
43
43
- ML5_EXAMPLES_EMAIL
44
+ - UI_ACCESS_TOKEN_ENABLED
45
+ - UPLOAD_LIMIT
46
+ - TRANSLATIONS_ENABLED
44
47
# you can either set this in your .env or as an environment variables
45
48
# or here YOU CHOOSE
46
49
# - MONGO_URL=mongodb://mongo:27017/p5js-web-editor
You can’t perform that action at this time.
0 commit comments