28
28
GIT_CONFIG_NAME : Montezuma
29
29
GIT_CONFIG_EMAIL : montezuma@jamesiv.es
30
30
31
+ - name : Cleanup Generated Branch
32
+ uses : dawidd6/action-delete-branch@v2.0.1
33
+ with :
34
+ github_token : ${{ secrets.GITHUB_TOKEN }}
35
+ branches : gh-pages
36
+
31
37
# Deploys using checkout@v2 with a GITHUB_TOKEN.
32
38
integration-checkout-v2 :
33
39
needs : integration-checkout-v1
47
53
BASE_BRANCH : dev
48
54
TARGET_FOLDER : montezuma2
49
55
56
+ - name : Cleanup Generated Branch
57
+ uses : dawidd6/action-delete-branch@v2.0.1
58
+ with :
59
+ github_token : ${{ secrets.GITHUB_TOKEN }}
60
+ branches : gh-pages
61
+
50
62
51
63
# Deploys using a container that requires you to install rsync.
52
64
integration-container :
75
87
BASE_BRANCH : dev
76
88
TARGET_FOLDER : montezuma2
77
89
90
+ - name : Cleanup Generated Branch
91
+ uses : dawidd6/action-delete-branch@v2.0.1
92
+ with :
93
+ github_token : ${{ secrets.GITHUB_TOKEN }}
94
+ branches : gh-pages
95
+
78
96
# Deploys using an SSH key.
79
97
integration-ssh :
80
98
needs : integration-container
@@ -99,6 +117,12 @@ jobs:
99
117
BASE_BRANCH : dev
100
118
TARGET_FOLDER : montezuma3
101
119
120
+ - name : Cleanup Generated Branch
121
+ uses : dawidd6/action-delete-branch@v2.0.1
122
+ with :
123
+ github_token : ${{ secrets.GITHUB_TOKEN }}
124
+ branches : gh-pages
125
+
102
126
# Deploys using a custom env.
103
127
integration-env :
104
128
needs : integration-ssh
@@ -127,7 +151,13 @@ jobs:
127
151
BASE_BRANCH : dev
128
152
TARGET_FOLDER : montezuma4
129
153
130
733A
- # Deploys using the CLEAN option with SINGLE_COMMIT toggled.
154
+ - name : Cleanup Generated Branch
155
+ uses : dawidd6/action-delete-branch@v2.0.1
156
+ with :
157
+ github_token : ${{ secrets.GITHUB_TOKEN }}
158
+ branches : gh-pages
159
+
160
+ # Deploys using the CLEAN option.
131
161
integration-clean :
132
162
needs : [integration-checkout-v1, integration-checkout-v2, integration-container, integration-ssh, integration-env]
133
163
runs-on : ubuntu-latest
0 commit comments