File tree Expand file tree Collapse file tree 2 files changed +38
-13
lines changed Expand file tree Collapse file tree 2 files changed +38
-13
lines changed Original file line number Diff line number Diff line change 1
1
name : Integration Tests 🧪
2
2
on :
3
+ workflow_call :
3
4
workflow_dispatch :
4
- inputs :
5
- branch :
6
- description : ' Specifies the branch which the integration tests should run on.'
7
- required : true
8
- default : ' releases/v4'
9
5
schedule :
10
6
- cron : 30 15 * * 0-6
11
- push :
12
- tags-ignore :
13
- - ' *.*'
14
- branches :
15
- - releases/v4
16
7
17
8
jobs :
18
- # Deploys cross repo with an access token.
19
9
integration-cross-repo-push :
20
10
container : node:16.13
21
11
runs-on : ubuntu-latest
40
30
clean : true
41
31
silent : true
42
32
43
- # Deploys using checkout@v1 with an ACCESS_TOKEN.
44
33
integration-checkout-v1 :
45
34
needs : integration-cross-repo-push
46
35
runs-on : ubuntu-latest
62
51
63
52
with :
64
53
github_token : ${{ secrets.GITHUB_TOKEN }}
54
+ branches : gh-pages
65
55
66
- # Deploys using checkout@v2 with a GITHUB_TOKEN.
67
56
integration-checkout-v2 :
68
57
needs : integration-checkout-v1
69
58
runs-on : ubuntu-latest
86
75
87
76
with :
88
77
github_token : ${{ secrets.GITHUB_TOKEN }}
78
+ branches : gh-pages
79
+
80
+ integration-root-folder :
81
+ needs : integration-checkout-v1
82
+ runs-on : ubuntu-latest
83
+ steps :
84
+ - name : Checkout
85
+ uses : actions/checkout@v4
86
+ with :
87
+ persist-credentials : false
88
+
89
+ - name : Echo
90
+ working-directory : integration
91
+ run : |
92
+ echo "Here"
93
+
94
+ - name : Build and Deploy
95
+ uses : JamesIves/github-pages-deploy-action@v4
96
+ with :
97
+ folder : .
98
+ target-folder : cat/montezuma5
99
+ silent : true
100
+ git-config-name : Montezuma
101
+ git-config-email :
[email protected]
102
+
103
+ - name : Cleanup Generated Branch
104
+
105
+ with :
106
+ github_token : ${{ secrets.GITHUB_TOKEN }}
107
+ branches : gh-pages
89
108
90
109
# Deploys using a container that requires you to install rsync.
91
110
integration-container :
Original file line number Diff line number Diff line change 12
12
steps :
13
13
-
uses :
nowactions/[email protected]
14
14
15
+ call-integration-workflow :
16
+ name : Verify Major Tag 🚀
17
+ needs : update-majorver
18
+ uses : ./.github/workflows/integration.yml
19
+
15
20
update-registries :
21
+ needs : call-integration-workflow
16
22
name : Publish to Registries 📦
17
23
runs-on : ubuntu-latest
18
24
steps :
You can’t perform that action at this time.
0 commit comments