Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/release-on-demand.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Main"
on:
workflow_dispatch:

jobs:
build-test:
runs-on: ubuntu-16.04
name: Build test
if: github.event_name != 'push'
steps:
- name: Checkout
uses: actions/checkout@v2
- run: docker-compose build

release:
name: Release
runs-on: ipfs-dev-gateway
if: github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: "20.x"
- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Publish
run: npx @dappnode/dappnodesdk publish patch --github_release --timeout 1h --content_provider=http://10.200.200.7:5001 --eth_provider=https://web3.dappnode.net
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading