Skip to content

Commit

Permalink
fix: add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Oct 28, 2024
1 parent 2865642 commit 98e4325
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Upload Website

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Build
run: yarn install && yarn build

- name: Deploy bootstrap config
run: |
aws s3 sync ./bootstrap-4.env s3://bootstrap-peerchecker-com-dist --delete
aws cloudfront create-invalidation --distribution-id ETKLQVXX2I9CQ --paths '/*';
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Peerbit Bootstrap 🚀

Relay server for bootstrapping Peerbit applications

This environment file contains a list of addresses you can initially connect to:

Check the Peerbit client version you are using. E.g. for v4 use:

```
https://raw.githubusercontent.com/dao-xyz/peerbit-bootstrap/master/bootstrap-4.env
```
2 changes: 2 additions & 0 deletions bootstrap-4.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/dns4/2d19032a282979bcec368ede9dc7fc650c1d70ea.peerchecker.com/tcp/4003/wss/p2p/12D3KooWG9kxG57c14GAULuvyWANmduhV9yB8RKQ13MmJkckc6sM
/dns4/4699f82aabe2b02544a332f883395ff62f0cf452.peerchecker.com/tcp/4003/wss/p2p/12D3KooWSnkwgDSJo8MimspNXmeu87X9cdYaPiPYfz3TvkgKw76k
1 change: 0 additions & 1 deletion bootstrap.env

This file was deleted.

0 comments on commit 98e4325

Please sign in to comment.