From c090bf24e7634faa75866087ab3da59cc3b48274 Mon Sep 17 00:00:00 2001 From: pisshammy <165633434+hammyo-o@users.noreply.github.com> Date: Sun, 17 Nov 2024 16:33:05 -0600 Subject: [PATCH 1/7] Create jekyll-gh-pages.yml --- .github/workflows/jekyll-gh-pages.yml | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/jekyll-gh-pages.yml diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml new file mode 100644 index 0000000..ffaf410 --- /dev/null +++ b/.github/workflows/jekyll-gh-pages.yml @@ -0,0 +1,51 @@ +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Deploy Jekyll with GitHub Pages dependencies preinstalled + +on: + # Runs on pushes targeting the default branch + push: + branches: ["0.8"] + + # Allows you to run this workflow manually from the Actions tab + 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: + # 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: ./ + destination: ./_site + - 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 From aa7ef31b664d2da7ab8629910c744101df63abed Mon Sep 17 00:00:00 2001 From: pisshammy <165633434+hammyo-o@users.noreply.github.com> Date: Sun, 17 Nov 2024 17:13:02 -0600 Subject: [PATCH 2/7] Create main --- .github/workflows/main | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/main diff --git a/.github/workflows/main b/.github/workflows/main new file mode 100644 index 0000000..3575613 --- /dev/null +++ b/.github/workflows/main @@ -0,0 +1,44 @@ +name: Bundle and Publish Sources +on: + push: + branches: + - '**' + - '!main' +jobs: + build: + name: Bundle and Publish Sources + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - name: Checkout Branch + uses: actions/checkout@v4.1.2 + + - name: Setup Node.js environment + uses: actions/setup-node@v4.0.2 + with: + node-version: ${{ matrix.node-version }} + + - name: Extract branch name + shell: bash + run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT + id: extract_branch + + - name: Checkout existing bundles + uses: actions/checkout@v4.1.2 + continue-on-error: true + with: + ref: gh-pages + path: bundles + + - run: npm install + - run: npm run bundle -- --folder=${{ steps.extract_branch.outputs.branch }} + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@v4.5.0 + with: + branch: gh-pages + folder: bundles From 6de686b2e9fa29ca255485bfc24ced8ae6dac088 Mon Sep 17 00:00:00 2001 From: pisshammy <165633434+hammyo-o@users.noreply.github.com> Date: Sun, 17 Nov 2024 17:22:52 -0600 Subject: [PATCH 3/7] Delete .github/workflows/main --- .github/workflows/main | 44 ------------------------------------------ 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/main diff --git a/.github/workflows/main b/.github/workflows/main deleted file mode 100644 index 3575613..0000000 --- a/.github/workflows/main +++ /dev/null @@ -1,44 +0,0 @@ -name: Bundle and Publish Sources -on: - push: - branches: - - '**' - - '!main' -jobs: - build: - name: Bundle and Publish Sources - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [20.x] - - steps: - - name: Checkout Branch - uses: actions/checkout@v4.1.2 - - - name: Setup Node.js environment - uses: actions/setup-node@v4.0.2 - with: - node-version: ${{ matrix.node-version }} - - - name: Extract branch name - shell: bash - run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT - id: extract_branch - - - name: Checkout existing bundles - uses: actions/checkout@v4.1.2 - continue-on-error: true - with: - ref: gh-pages - path: bundles - - - run: npm install - - run: npm run bundle -- --folder=${{ steps.extract_branch.outputs.branch }} - - - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.5.0 - with: - branch: gh-pages - folder: bundles From 168bffe5012e9e39243312f709a6a3c3811d1346 Mon Sep 17 00:00:00 2001 From: pisshammy <165633434+hammyo-o@users.noreply.github.com> Date: Sun, 17 Nov 2024 17:22:59 -0600 Subject: [PATCH 4/7] Delete .github/workflows/jekyll-gh-pages.yml --- .github/workflows/jekyll-gh-pages.yml | 51 --------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/jekyll-gh-pages.yml diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml deleted file mode 100644 index ffaf410..0000000 --- a/.github/workflows/jekyll-gh-pages.yml +++ /dev/null @@ -1,51 +0,0 @@ -# Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll with GitHub Pages dependencies preinstalled - -on: - # Runs on pushes targeting the default branch - push: - branches: ["0.8"] - - # Allows you to run this workflow manually from the Actions tab - 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: - # 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: ./ - destination: ./_site - - 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 From b7b7a55208802247af1d58eda0b13b2b94699d1e Mon Sep 17 00:00:00 2001 From: pisshammy <165633434+hammyo-o@users.noreply.github.com> Date: Sun, 17 Nov 2024 18:37:27 -0600 Subject: [PATCH 5/7] Create jekyll-gh-pages.yml --- .github/workflows/jekyll-gh-pages.yml | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/jekyll-gh-pages.yml diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml new file mode 100644 index 0000000..3575613 --- /dev/null +++ b/.github/workflows/jekyll-gh-pages.yml @@ -0,0 +1,44 @@ +name: Bundle and Publish Sources +on: + push: + branches: + - '**' + - '!main' +jobs: + build: + name: Bundle and Publish Sources + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - name: Checkout Branch + uses: actions/checkout@v4.1.2 + + - name: Setup Node.js environment + uses: actions/setup-node@v4.0.2 + with: + node-version: ${{ matrix.node-version }} + + - name: Extract branch name + shell: bash + run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT + id: extract_branch + + - name: Checkout existing bundles + uses: actions/checkout@v4.1.2 + continue-on-error: true + with: + ref: gh-pages + path: bundles + + - run: npm install + - run: npm run bundle -- --folder=${{ steps.extract_branch.outputs.branch }} + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@v4.5.0 + with: + branch: gh-pages + folder: bundles From b64df27a03380473d2366b2fbffa157fb9725169 Mon Sep 17 00:00:00 2001 From: pisshammy <165633434+hammyo-o@users.noreply.github.com> Date: Sun, 17 Nov 2024 20:53:20 -0600 Subject: [PATCH 6/7] Delete .github/workflows/jekyll-gh-pages.yml --- .github/workflows/jekyll-gh-pages.yml | 44 --------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/jekyll-gh-pages.yml diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml deleted file mode 100644 index 3575613..0000000 --- a/.github/workflows/jekyll-gh-pages.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Bundle and Publish Sources -on: - push: - branches: - - '**' - - '!main' -jobs: - build: - name: Bundle and Publish Sources - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [20.x] - - steps: - - name: Checkout Branch - uses: actions/checkout@v4.1.2 - - - name: Setup Node.js environment - uses: actions/setup-node@v4.0.2 - with: - node-version: ${{ matrix.node-version }} - - - name: Extract branch name - shell: bash - run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT - id: extract_branch - - - name: Checkout existing bundles - uses: actions/checkout@v4.1.2 - continue-on-error: true - with: - ref: gh-pages - path: bundles - - - run: npm install - - run: npm run bundle -- --folder=${{ steps.extract_branch.outputs.branch }} - - - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.5.0 - with: - branch: gh-pages - folder: bundles From 2e4e4da4c76339f022334cdb173fc858432f9643 Mon Sep 17 00:00:00 2001 From: pisshammy <165633434+hammyo-o@users.noreply.github.com> Date: Sun, 17 Nov 2024 23:20:23 -0600 Subject: [PATCH 7/7] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3575613..cebc4c6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,7 @@ on: branches: - '**' - '!main' + - gh-pages jobs: build: name: Bundle and Publish Sources