| name: Deploy Static Website to GitHub Pages | |
| on: | |
| push: | |
| branches: ["main"] # ุงููุฑุน ุงูุฐู ูุชู ุงููุดุฑ ู ูู | |
| workflow_dispatch: # ูุชุดุบููู ูุฏูููุง ู ู Actions | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| # ุฑูุน ู ููุงุช ุงูู ููุน ูุฃุฑุชููุงูุช (ุณูุชู ูุดุฑูุง ูู ุง ูู) | |
| - name: Upload Website Files | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: . # ุถุน ู ุฌูุฏ ุงูู ููุน (.) ููุดุฑ ูู ุดูุก | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |