Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
bortoz committed Jun 18, 2024
1 parent f9c02dc commit f6ee97e
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
cache: 'yarn'
cache-dependency-path: frontend/yarn.lock
uses: actions/setup-node@v4

- name: Build
working-directory: frontend
run: |
yarn
yarn install --frozen-lockfile
yarn build
yarn export
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.3
uses: peaceiris/actions-gh-pages@v4
with:
branch: gh-pages
folder: frontend/out
github_token: ${{ secrets.GITHUB_TOKEN }}
cname: stats.olinfo.it
publish_dir: frontend/out

0 comments on commit f6ee97e

Please sign in to comment.