Skip to content

Merge pull request #184 from yast/repo_probe #28

Merge pull request #184 from yast/repo_probe

Merge pull request #184 from yast/repo_probe #28

Workflow file for this run

# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Surge
on:
push:
branches:
# publish only the latest changes to master
- master
jobs:
publish:
runs-on: ubuntu-latest
container:
image: registry.opensuse.org/yast/head/containers/yast-cpp:latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Prepare
run: |
zypper in -y npm doxygen
npm install --global surge
- name: Generate Doc
run: rake doc
- name: Surge
run: surge --project ./autodocs/html --domain yast-pkg-bindings.surge.sh
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}