Merge pull request #184 from yast/repo_probe #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} | |