Skip to content

Commit

Permalink
[CI/CD] Replaced TravisCI with GitHub Actions (#72)
Browse files Browse the repository at this point in the history
* github-actions

* updated docs
  • Loading branch information
hristo-kanchev authored Apr 9, 2024
1 parent 81d8784 commit e570f4f
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 40 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
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
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/HeapsIO/heaps.io.svg?branch=master)](https://travis-ci.org/HeapsIO/heaps.io)
![Build Status](https://github.com/HeapsIO/heaps.io/actions/workflows/main.yaml/badge.svg)

# [heaps.io](https://heaps.io) website sources

Expand Down

0 comments on commit e570f4f

Please sign in to comment.