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