From a8d9b972f0d0a46a8409caf75f119b50caef81ea Mon Sep 17 00:00:00 2001 From: Andrea Lattuada Date: Sat, 4 May 2024 01:29:10 +0200 Subject: [PATCH] deploy with jekyll-gh-pages.yml --- .github/workflows/jekyll-gh-pages.yml | 45 +++++++++++++++++++ pages/{2024 => 2024-sosp}/.gitignore | 0 pages/{2024 => 2024-sosp}/Gemfile | 0 pages/{2024 => 2024-sosp}/Gemfile.lock | 0 pages/{2024 => 2024-sosp}/_config.yml | 0 pages/{2024 => 2024-sosp}/css/base.css | 0 pages/{2024 => 2024-sosp}/css/index.css | 0 pages/{2024 => 2024-sosp}/css/post.css | 0 pages/{2024 => 2024-sosp}/css/pygment.css | 0 pages/{2024 => 2024-sosp}/index.html | 0 .../jekyll-serve-docker.sh | 0 pages/{2024 => 2024-sosp}/robots.txt | 0 12 files changed, 45 insertions(+) create mode 100644 .github/workflows/jekyll-gh-pages.yml rename pages/{2024 => 2024-sosp}/.gitignore (100%) rename pages/{2024 => 2024-sosp}/Gemfile (100%) rename pages/{2024 => 2024-sosp}/Gemfile.lock (100%) rename pages/{2024 => 2024-sosp}/_config.yml (100%) rename pages/{2024 => 2024-sosp}/css/base.css (100%) rename pages/{2024 => 2024-sosp}/css/index.css (100%) rename pages/{2024 => 2024-sosp}/css/post.css (100%) rename pages/{2024 => 2024-sosp}/css/pygment.css (100%) rename pages/{2024 => 2024-sosp}/index.html (100%) rename pages/{2024 => 2024-sosp}/jekyll-serve-docker.sh (100%) rename pages/{2024 => 2024-sosp}/robots.txt (100%) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml new file mode 100644 index 0000000..c6e7851 --- /dev/null +++ b/.github/workflows/jekyll-gh-pages.yml @@ -0,0 +1,45 @@ +name: deploy 2024 site + +on: + push: + branches: ["main"] + + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./pages/2024-sosp + destination: ./_site/2024-sosp + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/pages/2024/.gitignore b/pages/2024-sosp/.gitignore similarity index 100% rename from pages/2024/.gitignore rename to pages/2024-sosp/.gitignore diff --git a/pages/2024/Gemfile b/pages/2024-sosp/Gemfile similarity index 100% rename from pages/2024/Gemfile rename to pages/2024-sosp/Gemfile diff --git a/pages/2024/Gemfile.lock b/pages/2024-sosp/Gemfile.lock similarity index 100% rename from pages/2024/Gemfile.lock rename to pages/2024-sosp/Gemfile.lock diff --git a/pages/2024/_config.yml b/pages/2024-sosp/_config.yml similarity index 100% rename from pages/2024/_config.yml rename to pages/2024-sosp/_config.yml diff --git a/pages/2024/css/base.css b/pages/2024-sosp/css/base.css similarity index 100% rename from pages/2024/css/base.css rename to pages/2024-sosp/css/base.css diff --git a/pages/2024/css/index.css b/pages/2024-sosp/css/index.css similarity index 100% rename from pages/2024/css/index.css rename to pages/2024-sosp/css/index.css diff --git a/pages/2024/css/post.css b/pages/2024-sosp/css/post.css similarity index 100% rename from pages/2024/css/post.css rename to pages/2024-sosp/css/post.css diff --git a/pages/2024/css/pygment.css b/pages/2024-sosp/css/pygment.css similarity index 100% rename from pages/2024/css/pygment.css rename to pages/2024-sosp/css/pygment.css diff --git a/pages/2024/index.html b/pages/2024-sosp/index.html similarity index 100% rename from pages/2024/index.html rename to pages/2024-sosp/index.html diff --git a/pages/2024/jekyll-serve-docker.sh b/pages/2024-sosp/jekyll-serve-docker.sh similarity index 100% rename from pages/2024/jekyll-serve-docker.sh rename to pages/2024-sosp/jekyll-serve-docker.sh diff --git a/pages/2024/robots.txt b/pages/2024-sosp/robots.txt similarity index 100% rename from pages/2024/robots.txt rename to pages/2024-sosp/robots.txt