Skip to content

Commit

Permalink
Create documentation-site.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Feb 6, 2024
1 parent 657c6c1 commit ac82551
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/documentation-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Deploy HydePHP Documentation Site

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pages: write

steps:
- uses: actions/checkout@v3
- name: Setup Hyde site
run: |
mkdir hyde && mkdir hyde/_docs
mv README.md hyde/_docs/index.md
echo "# Sample configuration
name: My HydePHP Package
load_app_styles_from_cdn: true
use_play_cdn: true
output_directories:
documentation-page: ''
" > docs/hyde.yml
- uses: hydephp/action@master
with:
deploy-to: "pages"
env-torchlight-token: ${{ secrets.TORCHLIGHT_TOKEN }}

0 comments on commit ac82551

Please sign in to comment.