mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-03 20:53:59 +01:00
First gh-pages script
This commit is contained in:
parent
feaee8acd1
commit
d684b5278a
31
.github/workflows/gh-pages.yml
vendored
Normal file
31
.github/workflows/gh-pages.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: github pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: refresh apt
|
||||||
|
run: sudo apt-get update
|
||||||
|
|
||||||
|
- name: install dependencies
|
||||||
|
run: sudo apt-get install hugo
|
||||||
|
|
||||||
|
- name: install theme
|
||||||
|
run: git submodule update --init --recursive
|
||||||
|
|
||||||
|
- name: make
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./public
|
||||||
|
|
Loading…
Reference in New Issue
Block a user