Skip to content

Commit

Permalink
Remove UNS temporary
Browse files Browse the repository at this point in the history
Signed-off-by: Little Human <[email protected]>
  • Loading branch information
Little Human committed Sep 11, 2022
1 parent d8574c2 commit dbe705b
Showing 1 changed file with 15 additions and 24 deletions.
39 changes: 15 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
name: πŸš€ Release
name: "πŸš€ Release"

on:
# manual trigger
workflow_dispatch: {}

jobs:
bump_version:
name: πŸ“¦ Bump Version
name: πŸ”– Bump Version
runs-on: ubuntu-latest
outputs:
new_tag: ${{ steps.github_tag_action.outputs.new_tag }}
changelog: ${{ steps.github_tag_action.outputs.changelog }}
steps:
- name: πŸ§‘β€πŸ’» Checkout
- name: ‡️ Check out code from GitHub
uses: actions/checkout@v3

- name: πŸ“¦ Bump version and push tag
Expand All @@ -24,29 +24,29 @@ jobs:
release_branches: .*

create_release:
name: πŸš€ Create Release
name: 🌐 Create Release
runs-on: ubuntu-latest
needs: bump_version
if: ${{ needs.bump_version.outputs.new_tag != null }}
steps:
- name: πŸ§‘β€πŸ’» Checkout
- name: ‡️ Check out code from GitHub
uses: actions/checkout@v3

- name: πŸ’» Set up node
- name: πŸ“¦οΈ Set up node
uses: actions/setup-node@v3
with:
node-version: 16

- name: πŸ“¦ Install dependencies
- name: πŸ—ƒοΈ Install dependencies
run: yarn install --immutable --immutable-cache

- name: πŸ‘· Build the app
- name: πŸ—οΈ Build the app
run: yarn run build

- name: πŸ‘· Export SSG
- name: πŸ—οΈ Export SSG
run: yarn run export

- name: πŸš€ Upload to Swarm
- name: 🚚 Upload to Swarm
uses: ethersphere/swarm-actions/upload-dir@latest
id: swarm-upload
with:
Expand All @@ -56,7 +56,7 @@ jobs:
timeout: 60000
deferred: false

- name: πŸ“¦ Update Swarm feed
- name: 🚚 Update Swarm feed
uses: ethersphere/swarm-actions/write-feed@latest
id: swarm-feed
with:
Expand All @@ -65,7 +65,7 @@ jobs:
topic: kongkow/soon
signer: ${{ secrets.SIGNER }}

- name: πŸš€ Upload to Web3
- name: 🚚 Upload to Web3
uses: 10xHuman/add-to-web3@main
id: web3
with:
Expand All @@ -75,13 +75,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: πŸ“¦ Collect Web3 CID's
- name: πŸ—‘οΈ Collect Web3 CID's
uses: mathiasvr/[email protected]
id: web3-cid
with:
run: yarn cid ${{ steps.web3.outputs.cid }}

- name: πŸ“¦ Collect Swarm CID's
- name: πŸ—‘οΈ Collect Swarm CID's
uses: ethersphere/swarm-actions/reference-to-cid@v0
id: swarm-cid
with:
Expand All @@ -95,15 +95,7 @@ jobs:
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
run: npx dnslink-cloudflare --record _dnslink --domain kongkowitpku.xyz --link /ipfs/${{ steps.web3.outputs.cid }}

- name: ⚑ Update Unstoppable Domains
uses: aquiladev/[email protected]
with:
mnemonic: ${{ secrets.MNEMONIC }}
rpc: ${{ secrets.RPC }}
name: kongkowitpku.blockchain
contentHash: ${{ steps.web3.outputs.cid }}

- name: πŸ†™ Create GitHub Release
- name: πŸ’¬ Create GitHub Release
id: create_release
uses: actions/[email protected]
env:
Expand All @@ -120,7 +112,6 @@ jobs:
- [`${{ steps.web3.outputs.cid }}`.ipfs.w3s.link](https://${{ steps.web3.outputs.cid }}.ipfs.w3s.link)
- [`${{ steps.web3.outputs.cid }}`.ipfs.dweb.link](https://${{ steps.web3.outputs.cid }}.ipfs.dweb.link)
- [`${{ steps.web3.outputs.cid }}`.ipfs.cf-ipfs.com](https://${{ steps.web3.outputs.cid }}.ipfs.cf-ipfs.com)
- **Unstoppable Domains**: [`kongkowitpku.blockchain`](https://kongkowitpku.blockchain)
---
### Swarm deployment
- **Upload ref**: `${{ steps.swarm-upload.outputs.reference }}`
Expand Down

0 comments on commit dbe705b

Please sign in to comment.