-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (36 loc) · 985 Bytes
/
beta.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
36
37
38
39
name: Deploy Beta
env:
package_prefix: maze-test
on:
push:
branches:
- main
jobs:
exports:
name: Deploy to GH Pages
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
lfs: true
- name: Set git-semver version
run: echo "version=$(npx @robpc/git-semver@0.1.6 ${REPO} ${REF})" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
REF: ${{ github.sha }}
- name: Add Build Info
uses: robpc/godot-build-info-action@v1
with:
version: ${{ env.version }}
- name: Export html from Godot
uses: robpc/godot-export-action@v4.0.2
with:
preset: web
export_path: build/html/index.html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages
folder: build/html