"official" mobile port #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pages | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
build: | |
concurrency: ci-${{ github.ref }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Setup Haxe | |
uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: 4.3.6 | |
- name: Install rsync 📚 | |
run: | | |
sudo apt-get update && sudo apt-get install -y rsync | |
- name: Install libvlc 📹 | |
run: sudo apt-get install -y libvlc-dev libvlccore-dev | |
- name: Install Haxe Libraries 📚 | |
run: | | |
haxelib install hmm --quiet | |
haxelib run hmm install --quiet | |
haxelib git dox https://github.com/HaxeFoundation/dox --quiet | |
mkdir pages | |
- name: Create Documentation Site 🌐 | |
run: | | |
chmod +x docs/docs.sh | |
docs/docs.sh | |
- name: github-actions deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: pages |