Skip to content

Update package.json #13

Update package.json

Update package.json #13

Workflow file for this run

name: Hostr CD
on:
push:
branches: ['develop']
pull_request:
branches: ['develop']
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: CD
uses: actions/setup-go@v3
with:
go-version: '1.21'
- run: node -v
- run: npm install --global yarn
- run: export GO111MODULE=on
- run: go install github.com/studiokaiji/nostr-webhost/nostrh@latest
- run: yarn install --frozen-lockfile
- run: yarn build
- run: nostrh generate-key
- run: nostrh add-relay wss://r.hostr.cc
- run: pwd
- run: ls
- run: nostrh deploy /dist