Skip to content

Commit

Permalink
Add GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsmith committed Dec 28, 2023
1 parent dbe26cb commit 98658a1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy Pushup website to Fly.io
on:
push:
branches: [ "website" ]
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
environment: pushup-website
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
- uses: superfly/flyctl-actions/setup-flyctl@master
- uses: cachix/install-nix-action@v24
- name: Build the Pushup site
run: nix run github:adhocteam/pushup build
- run: flyctl deploy --remote-only

0 comments on commit 98658a1

Please sign in to comment.