Skip to content

Commit 49deff2

Browse files
committed
get bunny
1 parent b6d0ee1 commit 49deff2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ jobs:
1818
registry: ghcr.io
1919
username: ${{ github.actor }}
2020
password: ${{ secrets.GITHUB_TOKEN }}
21+
- uses: tailscale/github-action@v3
22+
with:
23+
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
24+
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
25+
tags: tag:ci
26+
- run: sudo tailscale up --accept-dns --accept-routes --advertise-tags=tag:ci --hostname=github-actions
2127
- run: name=coilysiren-backend make .build-docker
28+
- run: name=coilysiren-backend make retrieve-bunny
2229
- run: docker tag coilysiren-backend:latest ghcr.io/${{ github.repository }}/coilysiren-backend:${{ github.sha }}
2330
- run: docker push ghcr.io/${{ github.repository }}/coilysiren-backend:${{ github.sha }}
2431
deploy:

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ build-native: .build
4949
# see also: build-native
5050
build-docker: .build .build-docker
5151

52+
## retrieve the bunny video from the server
53+
retrieve-bunny:
54+
scp kai@kai-server:/home/kai/bunny.webm .
55+
5256
.publish:
5357
docker tag $(name):$(git-hash) $(image-url)
5458
docker push $(image-url)

0 commit comments

Comments
 (0)