Skip to content

Commit 5779b3e

Browse files
committed
seperate deploy
1 parent c2f9991 commit 5779b3e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

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

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: build-and-publish
1+
name: build-publish-deploy
22

33
on:
44
push:
55
branches:
66
- main
77

88
jobs:
9-
build-and-publish:
9+
build-publish:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: read
@@ -27,3 +27,13 @@ jobs:
2727
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
2828
tags: tag:ci
2929
- run: ssh ${{ secrets.TS_SSH }} ls
30+
deploy:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: tailscale/github-action@v3
35+
with:
36+
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
37+
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
38+
tags: tag:ci
39+
- run: ssh ${{ secrets.TS_SSH }} ls

0 commit comments

Comments
 (0)