Skip to content

Commit

Permalink
Merge pull request #142 from jonathanharrell/update-pages-deploy-action
Browse files Browse the repository at this point in the history
Update pages deploy action
  • Loading branch information
jonathanharrell authored Jul 23, 2024
2 parents eb79586 + e27a149 commit 5a98acd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: JamesIves/github-pages-deploy-action@3.7.1
- name: install
run: npm install
- name: build
run: |
npm run postcss
npm run minify
npm run docs:build
npm run docs:index
- uses: JamesIves/github-pages-deploy-action@releases/v2
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
Expand All @@ -19,7 +27,6 @@ jobs:
ALGOLIA_ADMIN_API_KEY: ${{ secrets.ALGOLIA_ADMIN_API_KEY }}
ALGOLIA_SEARCH_API_KEY: ${{ secrets.ALGOLIA_SEARCH_API_KEY }}
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
BUILD_SCRIPT: npm install && npm run postcss && npm run minify && npm run docs:build && npm run docs:index
CI: true

release:
Expand Down

0 comments on commit 5a98acd

Please sign in to comment.