Skip to content

added php main page #75

added php main page

added php main page #75

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Build 🔧
run: |
PLANT_URL="https://www.plantuml.com/plantuml/proxy?cache=no"
REPO_URL="https://raw.github.com/$GITHUB_REPOSITORY/main"
for f in *.md;
do
sed '/./{H;$!d;} ; x ; s/~~~plantuml//; s/~~~$//; s~\!include \(.*\)\n~!\[\1\]\(%PLANT_URL%\&src=%REPO_URL%/\1\)~g' $f > $f.tmp;
sed -e "s#%PLANT_URL%#$PLANT_URL#g; s#%REPO_URL%#$REPO_URL#g" $f.tmp > $f;
rm $f.tmp;
done
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: .
clean: true
clean-exclude: |
.github
ssh-key: ${{ secrets.DEPLOY_KEY }}