Skip to content

Commit

Permalink
full action
Browse files Browse the repository at this point in the history
  • Loading branch information
arashrun committed Apr 13, 2024
1 parent e84856d commit c7f2af5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,28 @@ jobs:
with:
path: node_modules
key: ${{runner.OS}}-npm-cache
restore-keys: |
${{runner.OS}}-npm-cache
- name: install deps
run: npm install
- name: build
run: npm run build
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public

deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Deploy to Github pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit c7f2af5

Please sign in to comment.