mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-11 23:39:12 -06:00
Update main.yml
Updating actions
This commit is contained in:
parent
2b51ca00d0
commit
6c75057eec
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -1,6 +1,9 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
handle_forks:
|
handle_forks:
|
||||||
@ -36,12 +39,13 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
bash ./marsh build --markdown="tools/local/bin/markdown"
|
bash ./marsh build --markdown="tools/local/bin/markdown"
|
||||||
tar cvzf HandBrake_Documentation.tar.gz public/
|
gitrev=$(git rev-parse --short HEAD)
|
||||||
|
tar cvzf HandBrake_Documentation.$gitrev.tar.gz public/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
name: docs
|
name: docs
|
||||||
path: HandBrake_Documentation.tar.gz
|
path: HandBrake_Documentation*.tar.gz
|
||||||
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user