Skip to content

Merge pull request #43 from widgetii/http_server #11

Merge pull request #43 from widgetii/http_server

Merge pull request #43 from widgetii/http_server #11

Workflow file for this run

---
name: pages
on:
push:
branches: master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install Depends
run: |
sudo apt-get update
sudo apt-get install asciidoc libevent-dev
- name: Build
shell: bash
run: |
make
ln TOC.html index.html
- uses: actions/upload-pages-artifact@v1
with:
path: .
deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1