From 400bcd5840e8e671565b0c0edd64048869701deb Mon Sep 17 00:00:00 2001 From: Jaswant Sandhu Date: Thu, 25 Apr 2024 14:44:40 +0100 Subject: [PATCH] Intial Commit. --- .github/workflows/deploy.yml | 20 +++++++++++++ LICENSE | 21 ++++++++++++++ README.md | 55 ++++++++++++++++++++++++++++++++++++ index.html | 15 ++++++++++ 4 files changed, 111 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 index.html diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..ffc56ef --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - main # Set this to your default branch + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./ # Set this to the directory where your index.html is located diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..25c50fa --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 JSLovers + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..a079632 --- /dev/null +++ b/README.md @@ -0,0 +1,55 @@ +# Git Workshop Task: Update Attendee List + +## Objective +This task is designed to help you practice basic Git commands by adding your name to an attendee list on an HTML page, creating a new branch, and then raising a pull request to merge this branch into the `master` branch. + +## Instructions + +### Setup +1. Fork this repository to your GitHub account. +2. Clone your forked repository to your local machine: + ```bash + git clone https://github.com/jslovers/git-workshop-may24.git + ``` +3. Navigate into the cloned directory: + ```bash + cd git-workshop-may24 + ``` + +### Task +1. Create a new branch for your changes: + ```bash + git checkout -b add-my-name-YOURNAME + ``` +2. Open the `index.html` file located in the root directory. +3. Find the `