Skip to content

try publish

try publish #23

Workflow file for this run

name: deploy docs
on:
push:
paths:
- '.github/workflows/docs.yml'
- 'dist/**'
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: exist
shell: bash
run: |
if [[ -f dist/index.html ]]; then
touch not-exist-really
fi
- name: Deploy
uses: JamesIves/[email protected]
if: "! -f not-exist-really"

Check failure on line 26 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / deploy docs

Invalid workflow file

The workflow is not valid. .github/workflows/docs.yml (Line: 26, Col: 13): Unexpected symbol: '-f'. Located at position 3 within expression: ! -f not-exist-really
with:
branch: gh-pages
folder: dist