Skip to content

cleanup before upload #4

cleanup before upload

cleanup before upload #4

Workflow file for this run

##
## gh-pages.yml -- Github Action for Github Pages Deployment
##
name: Deploy to Github Pages
on:
push:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Website
working-directory: 08-Website
run: npm install && npm run build && npm run clean
- name: Setup Github Pages
uses: actions/configure-pages@v3
- name: Upload Github Pages
uses: actions/upload-pages-artifact@v2
with:
path: "08-Website"
- name: Deploy GitHub Pages
id: deployment
uses: actions/deploy-pages@v2