Skip to content

Commit

Permalink
rename web3-build to web3-deploy and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nipsysdev committed Jan 8, 2025
1 parent d2ba928 commit 3843ba0
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Web3 Build
name: Web3 Deploy

on:
push:
Expand All @@ -16,11 +16,11 @@ jobs:
- name: Setup Node using mise
uses: jdx/mise-action@v2

- name: Install Deps
- name: Install Node dependencies
shell: bash
run: pnpm i

- name: Build
- name: Build for Web3
run: |
pnpm build:web3
rm ./dist/CNAME
Expand All @@ -30,15 +30,18 @@ jobs:
uses: actions/upload-artifact@v4
with:
path: ./dist/
outputs:
artifactId: ${{ steps.artifactUpload.outputs.artifact-id }}

- name: Output artifact ID
run: echo 'Artifact ID is ${{ steps.artifactUpload.outputs.artifact-id }}'

deploy:
- needs: build
- runs-on: ubuntu-latest
- steps:
- name: Request artifact pinning
id: pinRequest
uses: fjogeleit/http-request-action@v1
with:
url: "https://ipfs.nipsys.dev/pin?artifactId=${{steps.artifactUpload.outputs.artifact-id}}"
url: "https://ipfs.nipsys.dev/pin?artifactId=${{ needs.build.outputs.artifactId }}"
method: 'GET'
timeout: '60000'
bearerToken: ${{ secrets.PIN_BEARER }}
Expand Down

0 comments on commit 3843ba0

Please sign in to comment.