mirror of
https://github.com/mudler/luet.git
synced 2025-05-14 19:32:13 +00:00
24 lines
556 B
YAML
24 lines
556 B
YAML
name: Github Pages
|
|
on:
|
|
push:
|
|
branches: [ master, docs ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
- name: Build 🔧
|
|
run: |
|
|
cd docs && make build
|
|
mv public ../
|
|
- name: Deploy 🚀
|
|
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
|
uses: JamesIves/github-pages-deploy-action@releases/v3
|
|
with:
|
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: public
|