tangled
alpha
login
or
join now
cuducos.me
/
triathlon-live-calendar
0
fork
atom
๐ Calendar file generator for triathlonlive.tv upcoming events
triathlon-live-calendar.fly.dev
0
fork
atom
overview
issues
pulls
pipelines
Migrates to Tangled
Eduardo Cuducos
1 month ago
7c2003bb
824c51c0
0/2
deploy.yaml
failed
1m 5s
tests.yaml
failed
17s
+21
-32
5 changed files
expand all
collapse all
unified
split
.github
FUNDING.yml
workflows
deploy.yml
tests.yml
.tangled
workflows
deploy.yaml
tests.yaml
-1
.github/FUNDING.yml
···
1
1
-
github: [cuducos]
-16
.github/workflows/deploy.yml
···
1
1
-
name: Deploy
2
2
-
on:
3
3
-
push:
4
4
-
branches:
5
5
-
- main
6
6
-
jobs:
7
7
-
deploy:
8
8
-
name: Deploy app
9
9
-
runs-on: ubuntu-latest
10
10
-
concurrency: deploy-group
11
11
-
steps:
12
12
-
- uses: actions/checkout@v4
13
13
-
- uses: superfly/flyctl-actions/setup-flyctl@master
14
14
-
- run: flyctl deploy --remote-only
15
15
-
env:
16
16
-
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
-15
.github/workflows/tests.yml
···
1
1
-
name: Tests
2
2
-
on: [push, pull_request]
3
3
-
jobs:
4
4
-
build:
5
5
-
runs-on: ubuntu-latest
6
6
-
steps:
7
7
-
- uses: actions/checkout@v4
8
8
-
- name: Set up Python
9
9
-
uses: actions/setup-python@v4
10
10
-
with:
11
11
-
python-version: "3.12"
12
12
-
- name: Install `uv`
13
13
-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
14
14
-
- name: Run tests
15
15
-
run: uv run pytest
+10
.tangled/workflows/deploy.yaml
···
1
1
+
when:
2
2
+
- event: ["push"]
3
3
+
branch: ["main"]
4
4
+
engine: "nixery"
5
5
+
dependencies:
6
6
+
nixpkgs:
7
7
+
- flyctl
8
8
+
steps:
9
9
+
- name: Deploy
10
10
+
command: flyctl deploy --remote-only
+11
.tangled/workflows/tests.yaml
···
1
1
+
when:
2
2
+
- event: ["push", "pull_request"]
3
3
+
branch: ["main"]
4
4
+
engine: "nixery"
5
5
+
dependencies:
6
6
+
nixpkgs:
7
7
+
- python314
8
8
+
- uv
9
9
+
steps:
10
10
+
- name: Tests
11
11
+
command: uv run pytest