Remove broken pr pages deploys #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build, Export and Publish Next.js App | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- run: | | |
yarn install | |
yarn build | |
- name: Next Pages | |
uses: reeseovine/[email protected] | |
- name: Commit and push changes | |
run: | | |
echo "api.myownfreehost.net" >> docs/CNAME | |
git config --global user.name "mofh-docs-builder" | |
git config --global user.email "[email protected]" | |
git add -A | |
git commit -m "New Build" | |
git push |