nak/.github/workflows/publish.yml

21 lines
537 B
YAML
Raw Normal View History

2023-03-23 07:44:28 -04:00
name: build page and publish to cloudflare
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: olafurpg/setup-scala@v11
- name: build page / compile scalajs
run: sbt fullLinkJS/esBuild
- name: publish to cloudflare
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 60325047cc7d0811c6b337717918cbc1
projectName: nostr-army-knife
directory: .