diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml deleted file mode 100644 index a2d4d5e..0000000 --- a/.github/workflows/deploy-gh-pages.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Build & Publish - -env: - GHPAGE: true - -on: - push: - branches: - - main - -jobs: - build-site: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Install Composer Dependencies - run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist - - name: Install NPM Dependencies - run: npm install - - name: Build Site - run: composer build - - name: Stage Files - run: git add -f build_local - - name: Commit files - run: | - git config --local user.email "actions@github.com" - git config --local user.name "GitHub Actions" - git commit -m "Build for deploy" - - name: Publish - run: | - git subtree split --prefix build_local -b gh-pages - git push -f origin gh-pages:gh-pages \ No newline at end of file