Skip to content

Merge pull request #104 from picture-pro/100-overhaul-visual-style #48

Merge pull request #104 from picture-pro/100-overhaul-visual-style

Merge pull request #104 from picture-pro/100-overhaul-visual-style #48

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
keep-outputs = true
keep-derivations = true
- name: Use Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Install flyctl
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Containerize & Deploy to Fly
run: nix build ".#container" -L && docker load < result && flyctl deploy --local-only --detach -i site-server
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}