2023-02-11 21:12:55 +01:00
|
|
|
name: "Deploy new pages build"
|
2022-10-24 15:51:22 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pages: write
|
|
|
|
id-token: write
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: "pages"
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
environment:
|
|
|
|
name: github-pages
|
|
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-08-15 22:08:21 +02:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
2022-10-24 15:51:22 +02:00
|
|
|
with:
|
2024-08-15 22:08:21 +02:00
|
|
|
node-version: 20
|
2022-10-24 15:51:22 +02:00
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build
|
2024-08-15 22:08:21 +02:00
|
|
|
- uses: actions/upload-pages-artifact@v3
|
2022-10-24 15:51:22 +02:00
|
|
|
with:
|
2023-01-11 02:51:14 +01:00
|
|
|
path: ".app"
|
2022-10-24 15:51:22 +02:00
|
|
|
- name: Deploy to gh pages
|
|
|
|
id: deployment
|
2024-08-15 22:08:21 +02:00
|
|
|
uses: actions/deploy-pages@v4
|