Skip to content

Commit

Permalink
Merge pull request #52 from RyosukeDTomita/feature/github-pages
Browse files Browse the repository at this point in the history
Feature/GitHub pages
  • Loading branch information
RyosukeDTomita authored Aug 4, 2024
2 parents 9dd4f6c + f25f476 commit afcc306
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,23 @@ on:
push:
# branches:
# - master

workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write
defaults:
run:
shell: bash

concurrency:
group: "pages"
cancel-in-progress: false

# env:
# GITHUB_CONTAINER_REGISTRY_TAG: ryosukedtomita/github-pages-test-docker
# IMAGE_NAME: react-app


jobs:
build:
runs-on: ubuntu-latest
environment:
name: staging
permissions:
contents: read

steps:
- name: Checkout repository
Expand Down Expand Up @@ -65,8 +60,13 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
pages: write
contents: read
id-token: write
timeout-minutes: 10
needs: build

steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit afcc306

Please sign in to comment.