lkmpg/.github/workflows/build-deploy-assets.yaml

37 lines
717 B
YAML
Raw Permalink Normal View History

name: build-deploy-assets
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: twtug/lkmpg
steps:
2023-09-18 02:05:28 +08:00
- uses: actions/checkout@v4
- name: Build
run: |
make all
make html
tar zcvf lkmpg-html.tar.gz ./html
- name: Delete old release
uses: cb80/delrel@latest
with:
tag: latest
- name: Tag
run: |
git tag latest
git push -f --tags
- name: Release
2024-10-05 11:49:44 +08:00
uses: softprops/action-gh-release@v2
with:
files: |
lkmpg.pdf
lkmpg-html.tar.gz
tag_name: "latest"
prerelease: true