Skip to content

Commit bd758fa

Browse files
committed
Trying again with flyctl layer
1 parent 98d88e9 commit bd758fa

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
workflow_dispatch:
88

9+
env:
10+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
11+
912
jobs:
1013
build:
1114
runs-on: ubuntu-latest
@@ -17,7 +20,7 @@ jobs:
1720
- name: Set up Python
1821
uses: actions/setup-python@v2
1922
with:
20-
python-version: '3.9'
23+
python-version: "3.9"
2124

2225
- name: Install dependencies
2326
run: |
@@ -41,8 +44,9 @@ jobs:
4144
run: |
4245
python generate_metadata.py
4346
47+
- name: Install Flyctl
48+
uses: superfly/flyctl-actions/setup-flyctl@master
49+
4450
- name: Deploy to Fly.io using Datasette
45-
env:
46-
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
4751
run: |
4852
datasette publish fly players.db --app="fide-players" -m metadata.json

0 commit comments

Comments
 (0)