Skip to content

Merge pull request #88 from WaPoNe/main #48

Merge pull request #88 from WaPoNe/main

Merge pull request #88 from WaPoNe/main #48

Workflow file for this run

name: "🚀 - Deploy"
on:
push:
branches:
- main
jobs:
build:
name: "✏️ - Update content"
runs-on: ubuntu-latest
steps:
- name: "🛸 - Pull latest content"
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd /var/www/share/devdocs.mage-os.org/devdocs
./bin/checkout_latest_docs.sh
php artisan optimize
php artisan optimize:clear
php artisan sitemap:generate
php artisan optimize:clear