Skip to content

Merge pull request #1133 from mario-neuhold/patch-1 #49

Merge pull request #1133 from mario-neuhold/patch-1

Merge pull request #1133 from mario-neuhold/patch-1 #49

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Install dependencies
run: |
composer install
- name: Build page
run: |
./vendor/bin/sculpin generate --env=prod --url="https://developers.shopware.com"
./contrib/package_plugins.sh
git clone https://github.com/shopware5/devdocs.git -b styletile output_prod/styletile
rm -rf output_prod/styletile/.git
echo "developers.shopware.com" > output_prod/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output_prod