Skip to content

ci: fixed commit message condition #2

ci: fixed commit message condition

ci: fixed commit message condition #2

Workflow file for this run

name: Build and Deploy

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml: (Line: 14, Col: 13, Idx: 245) - (Line: 14, Col: 14, Idx: 246): While parsing a tag, did not find expected tag URI.
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Check commit message 💬
if: ! contains(github.event.head_commit.message, '[ci-deploy]')
run: exit 1
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist