Skip to content

Commit

Permalink
* fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusAquarius committed Sep 30, 2024
1 parent 31b43b5 commit 8df2ebf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
node-version: [18.x]

steps:
- name: Checkout code
- uses: actions/checkout@v3

# setting up node
Expand Down Expand Up @@ -60,11 +61,15 @@ jobs:
if: github.ref == 'refs/heads/main'

steps:
# first checkout to main
- name: Checkout code
uses: actions/checkout@v3

# Deploy recent build and push it to branch 'gh-pages'
# this will trigger the action 'pages build & deployment' to host the recent build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/angular-redux-shop
publish_dir: ./angular-styleguide/dist/angular-redux-shop
publish_branch: gh-pages

0 comments on commit 8df2ebf

Please sign in to comment.