Skip to content

Merge pull request #482 from adopted-ember-addons/mirage-production #3

Merge pull request #482 from adopted-ember-addons/mirage-production

Merge pull request #482 from adopted-ember-addons/mirage-production #3

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
working-directory: test-app
env:
GITHUB_PAGES: "true"
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./test-app/dist