Skip to content

Commit 14c27a8

Browse files
committed
Initial commit
0 parents  commit 14c27a8

6 files changed

Lines changed: 477 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "Flyctl Codespaces",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4+
"features": {
5+
"ghcr.io/devcontainers-extra/features/gh-release:1": {
6+
"repo": "superfly/flyctl",
7+
"binaryNames": "fly"
8+
}
9+
}
10+
}

.github/dependabot.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
day: sunday
8+
time: '11:07'

.github/workflows/deploy.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy to fly.io
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- fly.toml
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}
12+
13+
jobs:
14+
deploy:
15+
runs-on: ubuntu-slim
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v6
19+
with:
20+
persist-credentials: false
21+
22+
- name: Setup flyctl
23+
uses: superfly/flyctl-actions/setup-flyctl@v1
24+
25+
- name: Deploy to fly.io
26+
run: flyctl deploy --detach
27+
env:
28+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 commit comments

Comments
 (0)