Skip to content

ci: improve devnet deployment workflow by adding conditional restart #53

ci: improve devnet deployment workflow by adding conditional restart

ci: improve devnet deployment workflow by adding conditional restart #53

Workflow file for this run

name: Deploy Network
on:
push:
tags:
- "v*"
branches:
- develop
- feature/*
permissions:
contents: write
issues: write
jobs:
devnet_restart:
if: github.ref == 'refs/heads/develop || github.ref == 'refs/heads/feature/*'

Check failure on line 16 in .github/workflows/deploy-net.yml

View workflow run for this annotation

GitHub Actions / Deploy Network

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-net.yml (Line: 16, Col: 9): Unexpected symbol: 'refs/heads/feature/*''. Located at position 53 within expression: github.ref == 'refs/heads/develop || github.ref == 'refs/heads/feature/*'
name: Restart Devnet
runs-on: ubuntu-latest
environment: "Devnet"
steps:
# Run `git checkout`
- uses: actions/checkout@v3
- name: Restart Devnet
run: |
make restart