Skip to content

[CI] Remove GHP_ROOT for generate.hxml #10

[CI] Remove GHP_ROOT for generate.hxml

[CI] Remove GHP_ROOT for generate.hxml #10

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Haxe
uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.3.4
- name: Install
run: |
haxelib install all --always --quiet
haxelib list
- name: Setup Pages
id: pages_config
uses: actions/configure-pages@v5
- name: Generate website
run: |
haxe generate.hxml
- name: Publish on GitHub Pages
if: github.ref == 'refs/heads/master'
uses: ftnext/[email protected]
with:
build_dir: ./out
github_token: ${{ secrets.GITHUB_TOKEN }}