ci: improve devnet deployment workflow by adding conditional restart #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
|
||
name: Restart Devnet | ||
runs-on: ubuntu-latest | ||
environment: "Devnet" | ||
steps: | ||
# Run `git checkout` | ||
- uses: actions/checkout@v3 | ||
- name: Restart Devnet | ||
run: | | ||
make restart |