Skip to content

Please compile :beg: #277

Please compile :beg:

Please compile :beg: #277

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Setting up Haxe (for api docs)
uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.2.5
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Haxelib dependencies
run: |
haxelib --global install dox 1.6.0
haxelib --global install hxtemplo 3.2.0
haxelib --global install hxparse 4.3.0
haxelib --global install hxargs 4.0.0
haxelib --global install markdown 1.1.3
- run: npm install
- run: npm run build:full ./
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./export