Skip to content

Commit

Permalink
deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Valerio Como committed Dec 4, 2023
1 parent bf1cd1d commit b13ce4b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy pages
on: push
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build -- --base /${{ github.event.repository.name }}/
- name: Deploy pages
uses: crazy-max/[email protected]
with:
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b13ce4b

Please sign in to comment.