File tree 7 files changed +116
-228
lines changed
7 files changed +116
-228
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : " CI / Feature Closed"
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - closed
7
+ workflow_dispatch :
8
+ inputs :
9
+ featureBranch :
10
+ description : Specify the feature branch when triggering manually
11
+ required : true
12
+
13
+ jobs :
14
+ use-application-js-cloudflare-feature-closed :
15
+ permissions :
16
+ contents : read
17
+ uses : MatrixAI/.github/.github/workflows/application-js-cloudflare-feature-closed.yml@master
18
+ with :
19
+ appName : zeta-house-docs
20
+ appHostname : docs.zeta.house
21
+ featureBranch : ${{ github.head_ref || inputs.featureBranch }}
22
+ secrets :
23
+ NIXPKGS_PRIVATE_PAT : ${{ secrets.NIXPKGS_PRIVATE_PAT }}
24
+ CLOUDFLARE_ACCOUNT_ID : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
25
+ CLOUDFLARE_ZONE_ID : ${{ secrets.CLOUDFLARE_ZONE_ID }}
26
+ CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : " CI / Feature"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - feature*
7
+ workflow_dispatch :
8
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
13
+ jobs :
14
+ use-application-js-cloudflare-feature :
15
+ permissions :
16
+ contents : read
17
+ actions : write
18
+ checks : write
19
+ uses : MatrixAI/.github/.github/workflows/application-js-cloudflare-feature.yml@master
20
+ with :
21
+ ref : master
22
+ secrets :
23
+ NIXPKGS_PRIVATE_PAT : ${{ secrets.NIXPKGS_PRIVATE_PAT }}
24
+ DEPLOY_SECRETS : |
25
+ CLOUDFLARE_ACCOUNT_ID=${{ toJSON(secrets.CLOUDFLARE_ACCOUNT_ID) }}
26
+ CLOUDFLARE_ZONE_ID=${{ toJSON(secrets.CLOUDFLARE_ZONE_ID) }}
27
+ CLOUDFLARE_API_TOKEN=${{ toJSON(secrets.CLOUDFLARE_API_TOKEN) }}
28
+ ZETA_HOUSE_DOCS_ENV=${{ toJSON(secrets.ZETA_HOUSE_DOCS_ENV) }}
Original file line number Diff line number Diff line change
1
+ name : " CI / Master"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ workflow_dispatch :
8
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
13
+ jobs :
14
+ use-application-js-cloudflare-master :
15
+ permissions :
16
+ contents : read
17
+ actions : write
18
+ uses : MatrixAI/.github/.github/workflows/application-js-cloudflare-master.yml@master
19
+ with :
20
+ ref : master
21
+ secrets :
22
+ NIXPKGS_PRIVATE_PAT : ${{ secrets.NIXPKGS_PRIVATE_PAT }}
23
+ DEPLOY_SECRETS : |
24
+ CLOUDFLARE_ACCOUNT_ID=${{ toJSON(secrets.CLOUDFLARE_ACCOUNT_ID) }}
25
+ CLOUDFLARE_ZONE_ID=${{ toJSON(secrets.CLOUDFLARE_ZONE_ID) }}
26
+ CLOUDFLARE_API_TOKEN=${{ toJSON(secrets.CLOUDFLARE_API_TOKEN) }}
27
+ ZETA_HOUSE_DOCS_ENV=${{ toJSON(secrets.ZETA_HOUSE_DOCS_ENV) }}
Original file line number Diff line number Diff line change
1
+ name : " CI / Staging"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - staging
7
+ workflow_dispatch :
8
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
13
+ jobs :
14
+ use-application-js-cloudflare-staging :
15
+ permissions :
16
+ contents : write
17
+ actions : write
18
+ checks : write
19
+ pull-requests : write
20
+ uses : MatrixAI/.github/.github/workflows/application-js-cloudflare-staging.yml@master
21
+ with :
22
+ ref : master
23
+ secrets :
24
+ NIXPKGS_PRIVATE_PAT : ${{ secrets.NIXPKGS_PRIVATE_PAT }}
25
+ DEPLOY_SECRETS : |
26
+ CLOUDFLARE_ACCOUNT_ID=${{ toJSON(secrets.CLOUDFLARE_ACCOUNT_ID) }}
27
+ CLOUDFLARE_ZONE_ID=${{ toJSON(secrets.CLOUDFLARE_ZONE_ID) }}
28
+ CLOUDFLARE_API_TOKEN=${{ toJSON(secrets.CLOUDFLARE_API_TOKEN) }}
29
+ ZETA_HOUSE_DOCS_ENV=${{ toJSON(secrets.ZETA_HOUSE_DOCS_ENV) }}
30
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
31
+ GIT_AUTHOR_EMAIL : ${{ secrets.GIT_AUTHOR_EMAIL }}
32
+ GIT_AUTHOR_NAME : ${{ secrets.GIT_AUTHOR_NAME }}
33
+ GIT_COMMITTER_EMAIL : ${{ secrets.GIT_COMMITTER_EMAIL }}
34
+ GIT_COMMITTER_NAME : ${{ secrets.GIT_COMMITTER_NAME }}
Original file line number Diff line number Diff line change 19
19
shellHook = ''
20
20
echo "Entering $(npm pkg get name)"
21
21
set -o allexport
22
- . <(pk secrets env Polykey-Docs:. )
22
+ . <(polykey secrets env Polykey-Docs)
23
23
set +o allexport
24
24
set -v
25
25
${ lib . optionalString ci ''
You can’t perform that action at this time.
0 commit comments