tangled
alpha
login
or
join now
margin.at
/
margin
86
fork
atom
Write on the margins of the internet. Powered by the AT Protocol.
margin.at
extension
web
atproto
comments
86
fork
atom
overview
issues
4
pulls
1
pipelines
deploy workflow
scanash.com
23 hours ago
8413634b
a26fe0e6
+24
-2
2 changed files
expand all
collapse all
unified
split
.github
workflows
deploy.yml
sponsors.yml
+22
.github/workflows/deploy.yml
···
1
1
+
name: Deploy
2
2
+
3
3
+
on:
4
4
+
workflow_run:
5
5
+
workflows: ["Build and Publish Docker Image"]
6
6
+
types:
7
7
+
- completed
8
8
+
branches:
9
9
+
- main
10
10
+
11
11
+
jobs:
12
12
+
deploy:
13
13
+
runs-on: blacksmith-2vcpu-ubuntu-2404
14
14
+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
15
15
+
steps:
16
16
+
- name: Deploy to Dokku
17
17
+
uses: appleboy/ssh-action@master
18
18
+
with:
19
19
+
host: ${{ secrets.DOKKU_HOST }}
20
20
+
username: deploy
21
21
+
key: ${{ secrets.DEPLOY_KEY }}
22
22
+
script: echo deploy
+2
-2
.github/workflows/sponsors.yml
···
2
2
on:
3
3
workflow_dispatch:
4
4
schedule:
5
5
-
- cron: '30 15 * * 0-6'
5
5
+
- cron: "30 15 * * 0-6"
6
6
permissions:
7
7
contents: write
8
8
jobs:
···
25
25
uses: JamesIves/github-pages-deploy-action@v4
26
26
with:
27
27
branch: main
28
28
-
folder: '.'
28
28
+
folder: "."