File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 20
20
COMPONENTS_BUILD : true
21
21
CACHE_LOCATION : ./.htmltest/refcache.json
22
22
DOCKER_RUN_FLAGS : " --rm"
23
- S3_BUCKET_NAME : docs.prod.cloudposse.org
24
- ALGOLIA_INDEX_NAME : prod
25
23
HUGO_URL : https://docs.cloudposse.com/
26
- CF_API_EMAIL : ops@cloudposse.com
27
24
28
25
jobs :
29
26
hugo-build :
@@ -52,10 +49,21 @@ jobs:
52
49
run : make real-clean smoketest
53
50
- name : " Push Site to S3"
54
51
if : github.event_name == 'release' && github.event.action == 'published'
52
+ env :
53
+ S3_BUCKET_NAME : docs.prod.cloudposse.org
54
+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
55
+ AWS_SECRET_KEY : ${{ secrets.AWS_SECRET_KEY }}
55
56
run : make deploy
56
57
- name : " Push New Index to Algolia"
57
58
if : github.event_name == 'release' && github.event.action == 'published'
59
+ env :
60
+ ALGOLIA_INDEX_NAME : prod
61
+ ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
62
+ ALGOLIA_ADMIN_KEY : ${{ secrets.ALGOLIA_ADMIN_KEY }}
58
63
run : make reindex
59
64
- name : " Update Cloudflare Cache"
60
65
if : github.event_name == 'release' && github.event.action == 'published'
66
+ env :
67
+ CF_API_EMAIL : ops@cloudposse.com
68
+ CF_API_KEY : ${{ secrets.CF_API_KEY }}
61
69
run : make invalidate-cache
You can’t perform that action at this time.
0 commit comments