created dev branch where stored experimental eatures
All checks were successful
Testing Example / build-and-test (push) Successful in 2m2s
All checks were successful
Testing Example / build-and-test (push) Successful in 2m2s
fixed ci/cd
This commit is contained in:
parent
65e8404592
commit
475e1e1b45
@ -3,6 +3,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
@ -59,9 +60,22 @@ jobs:
|
|||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: https://gitea.com/actions/gitea-release-action@v1
|
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
|
body: |
|
||||||
|
## Release Notes
|
||||||
|
|
||||||
|
This is an automated release of version ${{ env.VERSION }}
|
||||||
|
|
||||||
|
### Changes
|
||||||
|
- Built from latest main branch
|
||||||
|
- Includes:
|
||||||
|
${{ github.event.head_commit.message }}
|
||||||
|
|
||||||
|
### Installation
|
||||||
|
Download the zip file and extract to your desired location.
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag_name: v${{ env.VERSION }}
|
tag_name: v${{ env.VERSION }}
|
||||||
name: Release v${{ env.VERSION }}
|
name: Release v${{ env.VERSION }}
|
||||||
|
|
||||||
files: |
|
files: |
|
||||||
release-artifacts/admin_dashboard-${{ env.VERSION }}.zip
|
release-artifacts/admin_dashboard-${{ env.VERSION }}.zip
|
||||||
draft: false
|
draft: false
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,6 +13,7 @@
|
|||||||
# production
|
# production
|
||||||
/build
|
/build
|
||||||
*/build
|
*/build
|
||||||
|
/src/authtoken.json
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
|
||||||
const filePath = 'authtoken.json';
|
const filePath = 'src/authtoken.json';
|
||||||
|
|
||||||
if (!fs.existsSync(filePath)) {
|
if (!fs.existsSync(filePath)) {
|
||||||
const randomToken = (Math.random().toString(36).substring(2, 10));
|
const randomToken = (Math.random().toString(36).substring(2, 10));
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
# https://www.robotstxt.org/robotstxt.html
|
# https://www.robotstxt.org/robotstxt.html
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow:
|
Disallow: /
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
{"buildMajor":1,"buildMinor":0,"buildRevision":16,"buildTag":"DEV"}
|
{"buildMajor":1,"buildMinor":0,"buildRevision":17,"buildTag":"DEV"}
|
||||||
Loading…
Reference in New Issue
Block a user