This commit is contained in:
parent
f26f3c90cb
commit
3d977f6ce5
|
@ -14,6 +14,9 @@ jobs:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Parse commit hash
|
||||||
|
run: echo "RELEASE_TAG=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build CSS
|
- name: Build CSS
|
||||||
run: |
|
run: |
|
||||||
mkdir dist
|
mkdir dist
|
||||||
|
@ -28,7 +31,7 @@ jobs:
|
||||||
direction: upload
|
direction: upload
|
||||||
release-dir: dist
|
release-dir: dist
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
tag: $(git rev-parse --short ${{ github.sha }})
|
tag: $RELEASE_TAG
|
||||||
release-notes: |
|
release-notes: |
|
||||||
Automatic release triggered by commit ${{ github.sha }}
|
Automatic release triggered by commit ${{ github.sha }}
|
||||||
|
|
||||||
|
@ -38,4 +41,4 @@ jobs:
|
||||||
THEMES = ${{ steps.build.outputs.themes }}
|
THEMES = ${{ steps.build.outputs.themes }}
|
||||||
\`\`\`
|
\`\`\`
|
||||||
|
|
||||||
And download the CSS files from this release to \`\$GITEA_DATA_DIR/gitea/public/css\`. \`themes.tar\` contains all CSS files for convenience.
|
And download the CSS files from this release to \`\$GITEA_DATA_DIR/gitea/public/css\`. [\`themes.tar\`](/Lea/gitea-themes/releases/download/$RELEASE_TAG/themes.tar) contains all CSS files for convenience.
|
||||||
|
|
Loading…
Reference in a new issue