mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 00:44:52 -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
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
handle_forks:
|
||||
@ -36,12 +39,13 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
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
|
||||
with:
|
||||
name: docs
|
||||
path: HandBrake_Documentation.tar.gz
|
||||
path: HandBrake_Documentation*.tar.gz
|
||||
|
||||
|
||||
publish:
|
||||
@ -90,4 +94,4 @@ jobs:
|
||||
replacesArtifacts: false
|
||||
allowUpdates: false
|
||||
tag: lin
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user