Skip to content

Commit 5e3b536

Browse files
Fly.io
1 parent ce9e8cf commit 5e3b536

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Fly Deploy
2+
on:
3+
push:
4+
branches: [main]
5+
workflow_dispatch:
6+
7+
env:
8+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
9+
FONTAWESOME_TOKEN: ${{ secrets.FONTAWESOME_TOKEN }}
10+
11+
jobs:
12+
deploy:
13+
name: Deploy app
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: superfly/flyctl-actions/setup-flyctl@master
18+
- run: flyctl deploy --build-arg FONTAWESOME_TOKEN=${{ env.FONTAWESOME_TOKEN }} --remote-only

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:slim as node
1+
FROM node:lts-slim as node
22

33
WORKDIR /build
44

Resources/formatter/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fly.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# fly.toml file generated for swiftfiddle-formatter on 2022-09-02T22:59:08+09:00
1+
# fly.toml file generated for swift-format on 2022-09-03T14:08:48+09:00
22

3-
app = "swiftfiddle-formatter"
3+
app = "swift-format"
44
kill_signal = "SIGINT"
55
kill_timeout = 5
66
processes = []

0 commit comments

Comments
 (0)