mirror of
https://github.com/filegator/filegator.git
synced 2025-08-07 06:06:32 +02:00
cont
This commit is contained in:
36
.github/workflows/docs.yml
vendored
36
.github/workflows/docs.yml
vendored
@@ -1,28 +1,20 @@
|
||||
name: docs
|
||||
name: Couscous GithubPage
|
||||
|
||||
on: [push]
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '7.4'
|
||||
extensions: zip
|
||||
|
||||
- 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 and deploy docs
|
||||
run: |
|
||||
curl -OS https://couscous.io/couscous.phar
|
||||
php couscous.phar deploy
|
||||
- uses: CouscousPHP/GitHub-Action@v1
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
#publish_dir: ./.couscous/generated
|
||||
|
Reference in New Issue
Block a user