Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaCrypt authored Jul 29, 2023
1 parent 096145b commit 508686c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:

- name: Install all dependencies
run: npm install

- name: Setup Pages
id: pages
uses: actions/configure-pages@v2

- name: Build
run: npm run build # The build command of your project
Expand All @@ -27,3 +31,14 @@ jobs:
FOLDER: dist # The directory where your assets are generated
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
MESSAGE: "Build: ({sha}) {msg}" # The commit message

deploy:
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 508686c

Please sign in to comment.