Skip to content

Commit

Permalink
Merge pull request #76 from ysds213/main
Browse files Browse the repository at this point in the history
出席番号ファイルの作成
  • Loading branch information
densuke authored Sep 25, 2024
2 parents 70d9ae5 + 769f0d3 commit 92c70fa
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 43 deletions.
86 changes: 43 additions & 43 deletions workflow-examples/pages.yml → .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
# GitHub Pagesにデプロイする
# デプロイすべきページはpagesディレクトリ以下のものとする

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
push:
branches: ["main"]
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: ソースを取得
uses: actions/checkout@v4
- name: GitHub Pagesの設定
uses: actions/configure-pages@v5
- name: 公開コンテンツをまとめて一時領域に配置
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'pages'
- name: GitHub Pagesにデプロイして公開する
id: deployment
uses: actions/deploy-pages@v4
# GitHub Pagesにデプロイする
# デプロイすべきページはpagesディレクトリ以下のものとする

# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
push:
branches: ["main"]
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: ソースを取得
uses: actions/checkout@v4
- name: GitHub Pagesの設定
uses: actions/configure-pages@v5
- name: 公開コンテンツをまとめて一時領域に配置
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'pages'
- name: GitHub Pagesにデプロイして公開する
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions 0J04027.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ysds213
11 changes: 11 additions & 0 deletions pages/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>

</body>
</html>

0 comments on commit 92c70fa

Please sign in to comment.