Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
name: Preview deploy

# Runs in the BASE repo's context (pull_request_target), so it has the
<<<<<<< HEAD
# Cloudflare secrets even for fork PRs. That is powerful and risky: a fork PR
# can only be deployed after a write-access maintainer adds the
# `deploy-preview` label, and the label is stripped again on every new push so
# fresh commits must be re-reviewed. Checkout is pinned to the reviewed commit.
#
# Before labeling a fork PR, read the diff — including wrangler.jsonc. A
# malicious `build.command` there would run with the secrets in scope.

on:
pull_request_target:
types: [labeled, synchronize, reopened]
=======
# Cloudflare secrets even for fork PRs. A write-access maintainer opts a PR in
# once by adding the `deploy-preview` label. After that, pushes to the PR
# auto-redeploy while the label is present — so later commits deploy with the
Expand All @@ -13,24 +26,60 @@ name: Preview deploy
on:
pull_request_target:
types: [labeled, synchronize]
>>>>>>> upstream/better-master

permissions:
contents: read
pull-requests: write

jobs:
<<<<<<< HEAD
# New commits invalidate a prior review: drop the label so a maintainer must
# re-add it after looking at the new code. Closes the label/push race.
strip-label-on-sync:
if: github.event.action == 'synchronize'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
try {
await github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
name: 'deploy-preview',
});
} catch (e) {
if (e.status !== 404) throw e; // 404 = label wasn't set
}

# Deploys only at the moment the label is added. `environment: preview` adds
# an optional Approve gate if you configure required reviewers on it.
deploy-preview:
if: github.event.action == 'labeled' && github.event.label.name == 'deploy-preview'
runs-on: ubuntu-latest
environment: preview
=======
deploy-preview:
if: >
(github.event.action == 'labeled' && github.event.label.name == 'deploy-preview') ||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'deploy-preview'))
runs-on: ubuntu-latest
>>>>>>> upstream/better-master
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
<<<<<<< HEAD
# Fork code runs with base secrets — safe only because the label gate
# means a maintainer reviewed this exact sha (incl. wrangler.jsonc) first.
allow-unsafe-pr-checkout: true
=======
# Fork code runs with base secrets — the label is the maintainer's opt-in.
allow-unsafe-pr-checkout: true

>>>>>>> upstream/better-master
- name: Deploy preview to Cloudflare
id: deploy
uses: cloudflare/wrangler-action@v3
Expand All @@ -39,12 +88,27 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
wranglerVersion: "4.125.0"
command: versions upload
<<<<<<< HEAD
=======

>>>>>>> upstream/better-master
- name: Comment preview URL
if: always()
uses: actions/github-script@v7
with:
script: |
<<<<<<< HEAD
const url = '${{ steps.deploy.outputs.deployment-url }}';
const body = url
? `Preview deployed: ${url}`
: `Preview deploy ran — see the Action log for the version preview URL.`;
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
body,
});
=======
const marker = '<!-- preview-url -->';
const url = '${{ steps.deploy.outputs.deployment-url }}';
const ok = '${{ steps.deploy.outcome }}' === 'success';
Expand All @@ -64,3 +128,4 @@ jobs:
} else {
await github.rest.issues.createComment({ owner, repo, issue_number, body });
}
>>>>>>> upstream/better-master
84 changes: 83 additions & 1 deletion Workshop Page/Workshops.html
Original file line number Diff line number Diff line change
Expand Up @@ -339,15 +339,84 @@
</div>
</div>
</section>
<section class="u-black u-clearfix u-section-2" id="carousel_df53">
<div class="u-clearfix u-sheet u-valign-middle-xs u-sheet-1">
<h1 class="u-align-center u-custom-font u-font-montserrat u-text u-text-palette-3-light-2 u-title u-text-1"
data-animation-name="fadeIn" data-animation-duration="1000" data-animation-delay="500"
data-animation-direction="">SESSION 2026-2027</h1>
<div class="u-border-2 u-border-palette-3-light-3 u-line u-line-horizontal u-line-1" data-animation-name="fadeIn"
data-animation-duration="1000" data-animation-delay="500" data-animation-direction=""></div>
</div>
</section>

<section class="u-align-left u-clearfix u-section-9" id="carousel_2d45">
<div class="u-clearfix u-sheet u-sheet-1" style="position: relative;">
<h1 class="u-align-left u-custom-font u-font-ubuntu u-text u-text-palette-4-light-3 u-title u-text-1"
data-animation-name="fadeIn" data-animation-duration="1000" data-animation-delay="500"
data-animation-direction="">
<span style="font-size: 3rem;">
<span class="u-text-custom-color-29">
<span class="u-text-palette-3-light-2">Breakout</span>&nbsp;
</span>
<span class="u-text-palette-3-light-3">Brigade</span>
<span class="u-text-palette-3-light-3">5.0</span>
</span>
<br>
</h1>
<img src="images/BOB_5.0.jpg" alt=""
class="u-border-10 u-border-palette-3-light-2 u-image u-image-round u-radius-25 u-image-1"
data-image-width="904" data-image-height="1280" data-animation-name="fadeIn" data-animation-duration="1000"
data-animation-delay="500" data-animation-direction="">
<p class="event__venue__left">VENUE : NEW LH</p>
<h2 class="u-custom-font u-font-montserrat u-text u-text-palette-3-light-2 u-text-2" data-animation-name="fadeIn"
data-animation-duration="1000" data-animation-delay="500" data-animation-direction="" style="bottom:4rem;">36</h2>

<p class="u-align-justify u-custom-font u-font-montserrat u-text u-text-palette-3-light-3 u-text-3"
data-animation-name="fadeIn" data-animation-duration="1000" data-animation-delay="500">Greetings from Team SPEC!

Team SPEC organised Breakout Brigade 2026, an exclusive technical workshop focused on innovation, creativity, and skill development. The workshop covered key domains including Web & App Development, AI/ML, Blockchain, DSA, Design, and Personal Branding, providing participants with practical exposure and diverse learning opportunities.

The event encouraged freshers to explore new technologies, develop technical and creative skills, interact with peers, and discover their areas of interest. Breakout Brigade 2026 served as a platform to build confidence, expand knowledge, and take the first step towards future projects and opportunities.

<p style="left: 1rem;">23rd August,2026 1:00 PM </p>
</p>
</div>
</section>

<section class="u-black u-clearfix u-section-2" id="carousel_df52">
<div class="u-clearfix u-sheet u-valign-middle-xs u-sheet-1">
<h1 class="u-align-center u-custom-font u-font-montserrat u-text u-text-palette-3-light-2 u-title u-text-1"
data-animation-name="fadeIn" data-animation-duration="1000" data-animation-delay="500"
data-animation-direction="">SESSION 2024-2025</h1>
data-animation-direction="">SESSION 2025-2026</h1>
<div class="u-border-2 u-border-palette-3-light-3 u-line u-line-horizontal u-line-1" data-animation-name="fadeIn"
data-animation-duration="1000" data-animation-delay="500" data-animation-direction=""></div>
</div>
</section>

<section class="u-align-left u-clearfix u-section-6" id="carousel_a2ea">
<div class="u-clearfix u-sheet u-sheet-1" style="position: relative;">
<img src="images/electro_8.0.jpg" alt=""
class="u-border-10 u-border-palette-3-light-2 u-image u-image-round u-radius-25 u-image-1"
data-image-width="904" data-image-height="1280" data-animation-name="fadeIn" data-animation-duration="1000" data-animation-delay="500" data-animation-direction="">
<p class="event__venue__right">VENUE : NEW LH</p>
<p class="u-align-justify u-custom-font u-font-montserrat u-text u-text-palette-3-light-3 u-text-1"
data-animation-name="fadeIn" data-animation-duration="1000" data-animation-delay="500">
Team SPEC organised Electrothon 8.0, its flagship hackathon, bringing together innovators and technology enthusiasts to turn ideas into impactful solutions. With Google DeepMind and MLH as flagship sponsors, the event provided participants with opportunities to explore emerging technologies, collaborate with peers, and solve real-world challenges. Through ideation, development, and mentorship, participants transformed concepts into working prototypes while strengthening their technical and problem-solving skills. The event reflected SPEC’s commitment to fostering innovation, collaboration, and a strong culture of technology. <h1 class="u-align-right u-custom-font u-font-ubuntu u-text u-text-palette-4-light-3 u-title u-text-2"
data-animation-name="fadeIn" data-animation-duration="1000" data-animation-delay="500"
data-animation-direction="" style="padding-top: 5rem;">
<span class="u-text-palette-1-light-2">&nbsp;<span class="u-text-palette-3-light-2">Electrothon</span>
</span>
<span class="u-text-palette-3-light-3">8.0</span>
<span class="u-text-custom-color-29">
<span class="u-text-palette-3-light-2"></span>
</span>
</h1>
<h2 class="u-custom-font u-font-montserrat u-text u-text-palette-3-light-2 u-text-3" data-animation-name="fadeIn"
data-animation-duration="1000" data-animation-delay="500" data-animation-direction="" style="padding-top: 3rem;">35</h2>
<p style="position: absolute;bottom:0rem;right:1.175rem;">13th March,2026 1:00PM</p>
</div>
</section>

<section class="u-align-left u-clearfix u-section-9" id="carousel_2d44">
<div class="u-clearfix u-sheet u-sheet-1" style="position: relative;">
<h1 class="u-align-left u-custom-font u-font-ubuntu u-text u-text-palette-4-light-3 u-title u-text-1"
Expand Down Expand Up @@ -403,6 +472,18 @@
<p style="position: absolute;bottom:2rem;right:1.175rem;">23rd August,2025 12:30PM</p>
</div>
</section>

</section>
<section class="u-black u-clearfix u-section-2" id="carousel_df52">
<div class="u-clearfix u-sheet u-valign-middle-xs u-sheet-1">
<h1 class="u-align-center u-custom-font u-font-montserrat u-text u-text-palette-3-light-2 u-title u-text-1"
data-animation-name="fadeIn" data-animation-duration="1000" data-animation-delay="500"
data-animation-direction="">SESSION 2024-2025</h1>
<div class="u-border-2 u-border-palette-3-light-3 u-line u-line-horizontal u-line-1" data-animation-name="fadeIn"
data-animation-duration="1000" data-animation-delay="500" data-animation-direction=""></div>
</div>
</section>

<section class="u-align-left u-clearfix u-section-9" id="carousel_2d44">
<div class="u-clearfix u-sheet u-sheet-1" style="position: relative;">
<h1 class="u-align-left u-custom-font u-font-ubuntu u-text u-text-palette-4-light-3 u-title u-text-1"
Expand Down Expand Up @@ -748,6 +829,7 @@
This workshop has been meticulously designed with your needs in mind, offering an exciting and immersive experience. Whether you're a novice or a passionate tech enthusiast, this workshop serves as your entry point to honing essential skills at the commencement of your academic journey.
<p style="left: 1rem;">1st November,2023 5:00PM</p>
</p>

</section>
<section class="u-clearfix u-section-5" id="sec-9eab">
<div class="u-clearfix u-sheet u-sheet-1">
Expand Down
Binary file added Workshop Page/images/BOB_5.0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Workshop Page/images/electro_8.0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading