Skip to content

feat(): forced-compression #119

feat(): forced-compression

feat(): forced-compression #119

Workflow file for this run

name: Update Docs
on:
push:
branches:
- master
jobs:
Build:
runs-on: ubuntu-latest
outputs:
package-name: ${{ steps.packageInfo.outputs.package-name }}
package-version: ${{ steps.packageInfo.outputs.package-version }}
commit-msg: ${{ steps.packageInfo.outputs.commit-msg }}
steps:
- name: Checkout Commit
uses: actions/checkout@v2
- name: Parsing Package Info
id: packageInfo
run: |
echo "::set-output name=package-name::$(jq -r .name package.json)"
echo "::set-output name=package-version::$(jq -r .version package.json)"
echo "::set-output name=commit-msg::$(git log -1 --pretty=%B)"
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.1

Check failure on line 27 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
- name: Install Libvips
- run: sudo apt-get update
- run: sudo apt-get install ffmpeg libvips-dev gtk-doc-tools gobject-introspection
- name: Install Dependencies
run: npm i
- name: Build
run: npm run doc
- name: Publish to Pages
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}