Skip to content

Commit 37fc6e3

Browse files
committed
testing gh actions
1 parent b7714b6 commit 37fc6e3

File tree

2 files changed

+22
-23
lines changed

2 files changed

+22
-23
lines changed

.github/workflows/build_ally_personal.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717

18-
# - name: Set up QEMU
19-
# uses: docker/setup-qemu-action@v3
20-
21-
# - name: Set up Docker Buildx
22-
# uses: docker/setup-buildx-action@v3
23-
24-
# - name: Login to Docker Hub
25-
# uses: docker/login-action@v3
26-
# with:
27-
# username: ${{ secrets.DOCKERHUB_USERNAME }}
28-
# password: ${{ secrets.DOCKERHUB_TOKEN }}
29-
30-
# - name: Build and push to DockerHub
31-
# uses: docker/build-push-action@v5
32-
# with:
33-
# context: .
34-
# push: true
35-
# file: ./apps/ally-personal/Dockerfile
36-
# tags: rjhilgefort/ally-personal:latest
18+
- name: Set up QEMU
19+
uses: docker/setup-qemu-action@v3
20+
21+
- name: Set up Docker Buildx
22+
uses: docker/setup-buildx-action@v3
23+
24+
- name: Login to Docker Hub
25+
uses: docker/login-action@v3
26+
with:
27+
username: ${{ secrets.DOCKERHUB_USERNAME }}
28+
password: ${{ secrets.DOCKERHUB_TOKEN }}
29+
30+
- name: Build and push to DockerHub
31+
uses: docker/build-push-action@v5
32+
with:
33+
context: .
34+
push: true
35+
file: ./apps/ally-personal/Dockerfile
36+
tags: rjhilgefort/ally-personal:latest
3737

3838
- name: Build GitHub Action
3939
run: |
4040
npm install
41-
npm run build
41+
npm run --workspace=@repo/portainer-stack-redeploy-action build
4242
4343
# https://github.com/wirgen/portainer-stack-redeploy-action/tree/v1.1
4444
# https://app.swaggerhub.com/apis/portainer/portainer-ce/2.27.1#/stacks/StackUpdate

packages/portainer-stack-redeploy/src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ export const portainerStackRedeploy = async (params: {
8080
Effect.flatMap(
8181
Array.findFirst(flow(Struct.get('Name'), equals(params.stackName))),
8282
),
83-
Effect.tap(Effect.log),
8483
Effect.runPromise,
8584
)
8685

@@ -107,7 +106,7 @@ export const portainerStackRedeploy = async (params: {
107106
),
108107
),
109108
Effect.tap(Effect_logString('💾 Stack updated')),
110-
Effect.tap(Effect_logString('🛑 Stopping Stack...')),
109+
Effect.tap(Effect_logString(' Stopping Stack...')),
111110
Effect.flatMap(() =>
112111
Effect_fetchJson(
113112
`${host}/api/stacks/${stack.Id}/stop?endpointId=${stack.EndpointId}`,
@@ -117,7 +116,7 @@ export const portainerStackRedeploy = async (params: {
117116
},
118117
),
119118
),
120-
Effect.tap(Effect_logString('🛑 Stack stopped')),
119+
Effect.tap(Effect_logString(' Stack stopped')),
121120
Effect.tap(Effect_logString('🚀 Starting Stack...')),
122121
Effect.flatMap(() =>
123122
Effect_fetchJson(

0 commit comments

Comments
 (0)