diff --git a/workflow-examples/pages.yml b/.github/workflows/pages.yml similarity index 96% rename from workflow-examples/pages.yml rename to .github/workflows/pages.yml index 8877252..33208df 100644 --- a/workflow-examples/pages.yml +++ b/.github/workflows/pages.yml @@ -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 diff --git a/0J04027.txt b/0J04027.txt new file mode 100644 index 0000000..abdc681 --- /dev/null +++ b/0J04027.txt @@ -0,0 +1 @@ +ysds213 \ No newline at end of file diff --git a/pages/index.html b/pages/index.html new file mode 100644 index 0000000..d01f779 --- /dev/null +++ b/pages/index.html @@ -0,0 +1,11 @@ + + + + + + Document + + + + + \ No newline at end of file