Compare commits
11 Commits
18529618ad
...
1.4.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bb7219589 | |||
| 5c347ab685 | |||
|
|
4dd82b1676 | ||
| 1869be9a19 | |||
|
|
7621ff8fb0 | ||
| 3820922535 | |||
|
|
e37517047f | ||
| ac7e1c6b66 | |||
|
|
f3c8747d30 | ||
| 816708741f | |||
| e3370bded5 |
@@ -3,16 +3,15 @@ name: Deploy Quartz site to Pages
|
||||
env:
|
||||
VERSION_FRAGMENT: minor
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -41,7 +40,7 @@ jobs:
|
||||
- name: Read Current Version
|
||||
run: echo "::set-env name=CURRENT_VERSION::$(cat version.txt)"
|
||||
working-directory: content
|
||||
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]" && git tag ${{ env.CURRENT_VERSION }}
|
||||
- run: git add version.txt && git commit -m "${{ env.VERSION_FRAGMENT }} version increment [skip actions]"
|
||||
working-directory: content
|
||||
- uses: actions/checkout@v6
|
||||
id: clone quartz repo
|
||||
@@ -65,11 +64,13 @@ jobs:
|
||||
- name: Build Quartz
|
||||
run: npx quartz build
|
||||
working-directory: quartz
|
||||
- run: tar czf www.tar.gz -C quartz public
|
||||
- uses: akkuman/gitea-release-action@v1
|
||||
working-directory: quartz
|
||||
with:
|
||||
tag_name: ${{env.CURRENT_VERSION}}
|
||||
name: ${{env.CURRENT_VERSION}}
|
||||
files: |-
|
||||
public/**
|
||||
www.tar.gz
|
||||
token: ${{secrets.CI_ACCESS}}
|
||||
- run: git push && git push --tags
|
||||
- run: git push
|
||||
working-directory: content
|
||||
@@ -1 +1 @@
|
||||
0.0.1
|
||||
1.3.0
|
||||
|
||||
Reference in New Issue
Block a user