notohh.dev/.forgejo/workflows/deployment.yml
notohh 4edf79e21f
Some checks failed
notohh.dev / build (push) Failing after 1m16s
init 1.0
2024-01-16 02:03:52 -05:00

23 lines
649 B
YAML

name: notohh.dev
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install nix
uses: https://github.com/DeterminateSystems/nix-installer-action@v5
with:
github-token: ${{ secrets.GH_TOKEN }}
- name: build
run: |
nix run nixpkgs#elmPackages.elm-land -- build
- name: deploy
uses: https://github.com/cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy ./dist --project-name=notohh.dev