-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 1.19 KB
/
Copy pathdeploy.yml
File metadata and controls
37 lines (30 loc) · 1.19 KB
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
#FIXME change file name to actual app name
#FIXME change to actual app name
name: $bog_LocalScript_app
#FIXME optional: change permissions if you don't want to allow everything
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#defining-access-for-the-github_token-permissions
permissions: write-all
on:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: '0 7 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: hyoo-ru/mam_build@master2
with:
package: 'bog/LocalScript' #FIXME namespace of this package
modules: 'app docs' #FIXME which modules to build, remove line if only on module at the root
#FIXME remove one of the following
- uses: hyoo-ru/gh-deploy@v4.4.1
if: github.ref == 'refs/heads/master'
with:
folder: 'bog/LocalScript/app/-' #FIXME path to build app
- uses: hyoo-ru/gh-deploy@v4.4.1
if: github.ref == 'refs/heads/master'
with:
folder: 'bog/LocalScript/docs/-'
target-folder: 'docs/' # Second sub-module