Skip to content

Commit

Permalink
Merge pull request #6 from ocknamo/expelimetal-CD-for-hostr
Browse files Browse the repository at this point in the history
Create cd.yml
  • Loading branch information
ocknamo authored Aug 24, 2023
2 parents b567828 + 5b4127d commit b4c3bc5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Hostr CD

on:
push:
branches: ['develop']
pull_request:
branches: ['develop']

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.15'

- name: Setup Nodejs
- run: curl https://get.volta.sh | bash
- run: volta install node@20
- run: npm install --global yarn

- name: CD
- 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

0 comments on commit b4c3bc5

Please sign in to comment.