-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 987 Bytes
/
build-demo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: GitHub Actions Demo
on:
push:
branches:
- master
env:
GODOT_VERSION: 3.4.2
jobs:
github-pages:
name: Build Github Pages
runs-on: ubuntu-latest
container:
image: barichello/godot-ci:3.4.2
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Install and Build 🔧
run: |
godot --export HTML5 ./build/index.html
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.