Skip to content

fix(ci): release condition matches default branch (master) #26

fix(ci): release condition matches default branch (master)

fix(ci): release condition matches default branch (master) #26

Workflow file for this run

name: "Main"
on:
repository_dispatch:
push:
paths-ignore:
- "README.md"
jobs:
release:
name: Release
runs-on: ipfs-dev-gateway
if: github.event_name == 'push' && github.ref == 'refs/heads/master' || github.event_name == 'repository_dispatch'
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: "24"
- 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 }}
DEVELOPER_ADDRESS: "0xf35960302a07022aba880dffaec2fdd64d5bf1c1"