blob: 5eb26f180da4da3ec0943e7057506e707624d277 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
name: Deploy Website
on:
workflow_dispatch:
push:
branches: ["build"]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: build
- uses: tailscale/github-action@v4
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:act
- run: |
ssh act@ganymede "rm -rf /var/www/papa_stories"
scp -r build/ act@ganymede:/var/www/papa_stories
|