Skip to content

v3.0.4

v3.0.4 #2

Workflow file for this run

name: Deploy
on:
release:
types: [created]
jobs:
release:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: 23
- name: Install dependencies
run: npm install
- name: Test
run: npm test
- name: Build
if: success()
run: npm run build
if: success()

Check failure on line 28 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 28, Col: 9): 'if' is already defined
- name: Deploy - https://draggable.github.io/formeo/
if: success()
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./dist/demo