mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-11 13:05:14 -06:00
Update main.yml
Updating actions
This commit is contained in:
parent
2b51ca00d0
commit
6c75057eec
12
.github/workflows/main.yml
vendored
12
.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:
|
||||||
@ -90,4 +94,4 @@ jobs:
|
|||||||
replacesArtifacts: false
|
replacesArtifacts: false
|
||||||
allowUpdates: false
|
allowUpdates: false
|
||||||
tag: lin
|
tag: lin
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user