File tree Expand file tree Collapse file tree 4 files changed +52
-3
lines changed
Expand file tree Collapse file tree 4 files changed +52
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Build & Deploy Helpdesk Helper
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+
14+ - name : Set up Docker Buildx
15+ uses : docker/setup-buildx-action@v3
16+
17+ - name : Login to Docker Hub
18+ uses : docker/login-action@v3
19+ with :
20+ username : ${{ secrets.DOCKERHUB_USERNAME }}
21+ password : ${{ secrets.DOCKERHUB_TOKEN }}
22+
23+ - name : Build and Push Image
24+ uses : docker/build-push-action@v6
25+ with :
26+ push : true
27+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/helpdesk-helper:latest
28+ platforms : linux/arm64
29+
30+ deploy :
31+ needs : build
32+ runs-on : ubuntu-latest
33+ steps :
34+ - name : Install kubectl
35+ run : |
36+ curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl"
37+ chmod +x kubectl
38+ sudo mv kubectl /usr/local/bin/
39+
40+ - name : Configure Kubeconfig
41+ run : |
42+ echo "${{ secrets.KUBECONFIG_BASE64 }}" | base64 -d > kubeconfig
43+ env :
44+ KUBECONFIG : ./kubeconfig
45+
46+ - name : Rollout restart deployment
47+ run : |
48+ kubectl --kubeconfig ./kubeconfig rollout restart deployment helpdesk-helper
Original file line number Diff line number Diff line change 11* .json
2+ helpdesk-helper.yaml
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ <h3>Shifts</h3>
122122 < tr >
123123 < th style ="width: 200px "> Start</ th >
124124 < th style ="width: 200px "> End</ th >
125- < th > Users (IDs) </ th >
125+ < th > Organizers </ th >
126126 < th style ="width: 140px "> Actions</ th >
127127 </ tr >
128128 </ thead >
@@ -134,7 +134,7 @@ <h3>Shifts</h3>
134134 </ section >
135135
136136 < section >
137- < h3 > Unscheduled members </ h3 >
137+ < h3 > Unscheduled organizers </ h3 >
138138 < div id ="vol-list "> </ div >
139139 < div style ="margin-top: 8px " class ="row ">
140140 < input
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ function renderUserChips(cell, ids) {
148148 // Add dropdown
149149 const select = document . createElement ( "select" ) ;
150150 const placeholder = document . createElement ( "option" ) ;
151- placeholder . textContent = "+ Add member " ;
151+ placeholder . textContent = "+ Add organizer " ;
152152 placeholder . value = "" ;
153153 select . appendChild ( placeholder ) ;
154154
You can’t perform that action at this time.
0 commit comments