Skip to content

Update main.yml

Update main.yml #134

Workflow file for this run

name: CI
on:
push:
branches: [master]
workflow_dispatch:
repository_dispatch:
jobs:
trigger-site-repo-workflow:
runs-on: ubuntu-latest
permissions:
actions: write&read

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 13, Col: 16): Unexpected value 'write&read'
steps:
- run: gh workflow run main.yml --ref master --repo haxeflixel/haxeflixel.com
env:
GH_TOKEN: ${{ github.token }}
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: lix-pm/setup-lix@master
- uses: HaxeFlixel/setup-flixel@master
with:
haxe-version: 4.3.2
flixel-versions: release
target: flash
- run: npm install
working-directory: api/dox
- run: haxe --cwd api --run Make xml pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_dir: ./api/dox/out
cname: api.haxeflixel.com