Skip to content

move permissions setting to the build-pages script #13

move permissions setting to the build-pages script

move permissions setting to the build-pages script #13

Workflow file for this run

name: build-pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-pages:
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
steps:
- name: checkout
uses: actions/checkout@v4
- name: build
run: docker compose up pages
- name: configure
uses: actions/configure-pages@v4
- name: upload
uses: actions/upload-artifact@v4
with:
name: github-pages
path: github-pages
- name: deploy
uses: actions/deploy-pages@v4