Skip to content

Commit

Permalink
Merge pull request #383 from mansona/fix-lttf-dashboard
Browse files Browse the repository at this point in the history
implement working-directory for lttf deploy
  • Loading branch information
mansona authored Jan 8, 2025
2 parents ba478a3 + c16e25e commit 785b235
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: mansona/lttf-dashboard@v1
- uses: actions/setup-node@v4
with:
token: ${{secrets.GITHUB_TOKEN}}
node-version: 18
cache: pnpm
- run: pnpm install --frozen-lockfile
working-directory: ./ember-cli-notifications
- run: pnpm lint-to-the-future output -o lttfOutput --rootUrl `cut -d'/' -f2 <<< ${{ github.repository }}` --previous-results https://${{ github.repository_owner }}.github.io/`cut -d'/' -f2 <<< ${{ github.repository }}`/data.json
shell: bash
working-directory: ./ember-cli-notifications
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./ember-cli-notifications/lttfOutput
2 changes: 1 addition & 1 deletion ember-cli-notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-prettier": "^5.2.1",
"lint-to-the-future": "^2.6.1",
"lint-to-the-future": "^2.6.2",
"lint-to-the-future-ember-template": "^3.0.0",
"lint-to-the-future-eslint": "^2.2.0",
"postcss": "^8.4.31",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 785b235

Please sign in to comment.