nak/.github/workflows/publish.yml
2023-03-23 08:44:28 -03:00

21 lines
537 B
YAML

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: .