mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-22 16:19:07 -05:00
21 lines
537 B
YAML
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: .
|