Skip to content

Workflow file for this run

name: Release
on:
release:
types: [published]
branches: [main]
jobs:
tests:
name: Tests
uses: ./.github/workflows/tests.yaml

Check failure on line 11 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yaml" -> "./.github/workflows/tests.yaml" : failed to fetch workflow: workflow was not found.
deploy:
name: netlify deploy
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: echo ${{ github.event.release.tag_name }} > ./static/version
- run: npm ci
- run: npm install -g netlify-cli
- run: netlify build
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
- run: netlify deploy --prod --message ${{ github.event.release.tag_name }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}