add info to nuxt so deploys to custom domain #5
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: Deploy to GitHub Pages | |
on: | |
- push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
- run: npm install | |
- run: npm run generate | |
- uses: JamesIves/[email protected] | |
if: github.ref == 'refs/heads/main' | |
with: | |
branch: gh-pages | |
folder: ./dist | |
single-commit: true | |
silent: false |