Skip to content

Commit

Permalink
Uncommit Cypress workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed00078 committed Jan 11, 2025
1 parent 5d32298 commit 7070868
Show file tree
Hide file tree
Showing 43 changed files with 327 additions and 327 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# name: Cypress Tests
# on: [push]
# jobs:
# cypress-run:
# runs-on: ubuntu-latest
# # Runs tests in parallel with matrix strategy https://docs.cypress.io/guides/guides/parallelization
# # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
# # Also see warning here https://github.com/cypress-io/github-action#parallel
# strategy:
# fail-fast: false # https://github.com/cypress-io/github-action/issues/48
# matrix:
# containers: [1, 2] # Uses 2 parallel instances
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Cypress run
# # Uses the official Cypress GitHub action https://github.com/cypress-io/github-action
# uses: cypress-io/github-action@v6
# with:
# # Starts web server for E2E tests - replace with your own server invocation
# # https://docs.cypress.io/guides/continuous-integration/introduction#Boot-your-server
# start: npm start
# wait-on: 'http://localhost:3000' # Waits for above
# # Records to Cypress Cloud
# # https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record
# record: true
# parallel: true # Runs test in parallel using settings above
# env:
# # For recording and parallelization to work you must set your CYPRESS_RECORD_KEY
# # in GitHub repo → Settings → Secrets → Actions
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# # Creating a token https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Cypress Tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
# Runs tests in parallel with matrix strategy https://docs.cypress.io/guides/guides/parallelization
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
# Also see warning here https://github.com/cypress-io/github-action#parallel
strategy:
fail-fast: false # https://github.com/cypress-io/github-action/issues/48
matrix:
containers: [1, 2] # Uses 2 parallel instances
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run
# Uses the official Cypress GitHub action https://github.com/cypress-io/github-action
uses: cypress-io/github-action@v6
with:
# Starts web server for E2E tests - replace with your own server invocation
# https://docs.cypress.io/guides/continuous-integration/introduction#Boot-your-server
start: npm start
wait-on: 'http://localhost:3000' # Waits for above
# Records to Cypress Cloud
# https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record
record: true
parallel: true # Runs test in parallel using settings above
env:
# For recording and parallelization to work you must set your CYPRESS_RECORD_KEY
# in GitHub repo → Settings → Secrets → Actions
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# Creating a token https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ unsafe = true

# CSS Plugins
[[params.plugins.css]]
link = "https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css"
link = "https://ahmed78.me/plugins/bootstrap/bootstrap.min.css"
[[params.plugins.css]]
link = "https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css"
link = "https://ahmed78.me/plugins/themify-icons/themify-icons.css"

# JS Plugins
[[params.plugins.js]]
link = "https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"
link = "https://ahmed78.me/plugins/jQuery/jquery.min.js"
[[params.plugins.js]]
link = "https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"
link = "https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"
[[params.plugins.js]]
link = "https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"
link = "https://ahmed78.me/plugins/particles/particles.min.js"
[[params.plugins.js]]
link = "https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"
link = "https://ahmed78.me/plugins/particles/stats.min.js"
[[params.plugins.js]]
link = "https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"
link = "https://ahmed78.me/plugins/reading-time/readingTime.min.js"


############################## navigation ###############################
Expand Down
14 changes: 7 additions & 7 deletions public/author/george-cushen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -169,15 +169,15 @@ <h2>Ahmed Sidi Mohamed</h2>

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
14 changes: 7 additions & 7 deletions public/author/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -171,15 +171,15 @@ <h4 class="mb-3"><a href="http://localhost:1313/author/george-cushen/">Ahmed Sid

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
14 changes: 7 additions & 7 deletions public/blogs/blog-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -213,15 +213,15 @@ <h2>Hack the Box — Starting Point — Meow Machine write up</h2>

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
14 changes: 7 additions & 7 deletions public/blogs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -171,15 +171,15 @@ <h4 class="mb-3"><a href="http://localhost:1313/blogs/blog-1/">Hack the Box —

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
14 changes: 7 additions & 7 deletions public/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -155,15 +155,15 @@ <h2>Categories</h2>

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
14 changes: 7 additions & 7 deletions public/contact/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -134,15 +134,15 @@ <h2>Contact Me</h2>

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
14 changes: 7 additions & 7 deletions public/fr/author/george-cushen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -169,15 +169,15 @@ <h2>Ahmed Sidi Mohamed</h2>

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
14 changes: 7 additions & 7 deletions public/fr/author/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -171,15 +171,15 @@ <h4 class="mb-3"><a href="http://localhost:1313/fr/author/george-cushen/">Ahmed

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
14 changes: 7 additions & 7 deletions public/fr/blogs/blog-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<!-- plugins -->

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/bootstrap/bootstrap.min.css">

<link rel="stylesheet" href="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/themify-icons/themify-icons.css">
<link rel="stylesheet" href="https://ahmed78.me/plugins/themify-icons/themify-icons.css">


<!-- Main Stylesheet -->
Expand Down Expand Up @@ -213,15 +213,15 @@ <h2>Hack the Box — Starting Point — Meow Machine write up</h2>

<!-- JS Plugins -->

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/jQuery/jquery.min.js"></script>
<script src="https://ahmed78.me/plugins/jQuery/jquery.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/bootstrap/bootstrap.min.js"></script>
<script src="https://ahmed78.me/plugins/bootstrap/bootstrap.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/particles.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/particles.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/particles/stats.min.js"></script>
<script src="https://ahmed78.me/plugins/particles/stats.min.js"></script>

<script src="https://nice-sand-07f78de03.5.azurestaticapps.net/plugins/reading-time/readingTime.min.js"></script>
<script src="https://ahmed78.me/plugins/reading-time/readingTime.min.js"></script>


<!-- Main Script -->
Expand Down
Loading

0 comments on commit 7070868

Please sign in to comment.