Skip to content

Commit

Permalink
- Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolii-kabanov committed Oct 2, 2024
1 parent 46bf1f9 commit 5c613e5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,24 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: production-files
path: dist/
path: ./ui/dist

deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'

defaults:
run:
working-directory: ui

steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: production-files
path: dist/
path: ./ui/dist

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/
publish_dir: ./ui/dist

0 comments on commit 5c613e5

Please sign in to comment.