mirror of
https://github.com/filegator/filegator.git
synced 2025-08-12 11:34:30 +02:00
cont
This commit is contained in:
35
.github/workflows/docs.yml
vendored
35
.github/workflows/docs.yml
vendored
@@ -1,28 +1,19 @@
|
|||||||
name: docs
|
name: Couscous GithubPage
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
deploy:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v1
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup PHP
|
- uses: CouscousPHP/GitHub-Action@v1
|
||||||
uses: shivammathur/setup-php@v2
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
extensions: zip
|
publish_dir: ./.couscous/generated
|
||||||
|
|
||||||
- name: Setup Git
|
|
||||||
run: |
|
|
||||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
||||||
git config --global user.name "github-actions[bot]"
|
|
||||||
|
|
||||||
- name: Build docs
|
|
||||||
run: |
|
|
||||||
composer global require couscous/couscous
|
|
||||||
couscous deploy
|
|
||||||
|
Reference in New Issue
Block a user