little improvements with ci/cd
This commit is contained in:
parent
65e8404592
commit
a830438604
@ -32,6 +32,10 @@ jobs:
|
|||||||
- name: Build app
|
- name: Build app
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Get developer token
|
||||||
|
run: TOKEN=$(jq -r '.token' src/authtoken.json)
|
||||||
|
echo "TOKEN=$TOKEN" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
@ -59,6 +63,21 @@ 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 }}
|
||||||
|
|
||||||
|
### Developer Token
|
||||||
|
- ${{ env.TOKEN }}
|
||||||
|
|
||||||
|
### 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 }}
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -13,7 +13,7 @@
|
|||||||
# production
|
# production
|
||||||
/build
|
/build
|
||||||
*/build
|
*/build
|
||||||
|
/src/authtoken.json
|
||||||
# misc
|
# misc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.env.local
|
.env.local
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user