Skip to content

[CI/CD] Replaced TravisCI with GitHub Actions (#72) #1

[CI/CD] Replaced TravisCI with GitHub Actions (#72)

[CI/CD] Replaced TravisCI with GitHub Actions (#72) #1

Workflow file for this run

name: CI
on:
push:
branches:
- master
env:
HEAPS_VER: master
jobs:
deploy-website:
runs-on: ubuntu-latest
steps:
- name: Setup Checkout Repository
uses: actions/checkout@v4
with:
submodules: true
# we are using this version in order to build vscode-textmate
- name: Setup Node
uses: actions/setup-node@v1
- name: Setup Haxe
uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.3.4
- name: Install
# at some point all npm needs to be in package.json
run: |
npm install
npm install -g uglify-js
npm install -g [email protected]
npm install -g [email protected]
haxelib install all --always
haxelib git heaps https://github.com/heapsio/heaps
haxelib list
- name: Script
run: |
haxe build-run-dox.hxml
haxe build-samples.hxml
haxe get-wiki.hxml
haxe heaps.io.hxml
- name: Deploy
run: haxe deploy.hxml