Skip to content

Commit

Permalink
Trying again with flyctl layer
Browse files Browse the repository at this point in the history
  • Loading branch information
kamicut committed May 30, 2024
1 parent 98d88e9 commit bd758fa
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
workflow_dispatch:

env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -17,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: "3.9"

- name: Install dependencies
run: |
Expand All @@ -41,8 +44,9 @@ jobs:
run: |
python generate_metadata.py
- name: Install Flyctl
uses: superfly/flyctl-actions/setup-flyctl@master

- name: Deploy to Fly.io using Datasette
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
run: |
datasette publish fly players.db --app="fide-players" -m metadata.json

0 comments on commit bd758fa

Please sign in to comment.