wejhrjkewhrjewhrkjehwrkjhewrkjhwekrjhwlejkrhwelkjrhwelkrjh
Are you looking to build your own webpage? Found nothing that you like on GitHub Pages? Well, you can create a more aesthetic web page through this repository!
I created this repository to share my projects and to journey the milestones I've made in NUS FinTech programme. Let's create a beautiful webpage together through this step-by step-guide!
- Search for a template @ Themezy, Jekyll, HTML5 Up, Bootstrapmade and other websites.
- Download template (in zipped file), save the uncompressed zip file to your local drive.
- Create a directory to store your file. I created mine in Desktop/GitHub/Repository/Portfolio
- Head over to GitHub and create a new public repository named
username.github.io, where username is your username (or organization name) on GitHub. - Go to
Settings > Pagesand create your GitHub Page using this nameusername.github.io.
-
Launch your terminal/command prompt using Virtual Studio Code (eg. Open Virtual Studio Code > Terminal > New Terminal)
-
Type the following to initialise your Git:
git init -
Copy your GitHub repository URL to this code and run it!
git remote add origin https://github.com/username/username.github.io -
Run the following code:
git fetch -
Go to the folder where you want to store your project, and clone the new repository by running this command:
git clone https://github.com/username/username.github.io
- Import the downloaded template (Step 1) into the cloned repository by doing this:
- Open Virtual Studio Code > File > Open Folder > Select the downloaded template
(eg. My file is stored in Desktop/GitHub/Repository/Portfolio)
- Have fun playing with your codes in Virtual Studio Code! Remember to add, commit and push the changes you made onto GitHub
- How? Run the following code (one after another) in Virtual Studio Code:
git add -A
git commit -m “add any comments or remark here”
git push origin master
- Navigate to http://username.github.io to see your newly created online portfolio.
- Check out my page @ https://kylalimza.github.io!
Wants to get updated? You can notified on Whatsapp whenever changes to push an update are made in your GitHub repositories.
Make use of Marketplace which has amazing resources! I searched for Whatsapp and I forked from here.
- Create an account in Twilio from here
- Open your Twilio Dashboard and copy the code in
Account SidandAuth Token.
- Go to GitHub and navigate to your repository secrets
Settings > Secrets - Add below secrets using button
New repository secret
- Name your respository secret as
ACCOUNT_SIDand enter the code copied from Twilio into the 'Value' - Once it's created, do the same for
AUTH_TOKENand another forTO_WHATSAPP_NO.
You should have created 3 repository secrets like this:
| Name | Value |
|---|---|
| ACCOUNT_SID | ACCOUNT SID copied earlier |
| AUTH_TOKEN | AUTH TOKEN copied earlier |
| TO_WHATSAPP_NO | Your Whatsapp Number |
- Go to Sandbox URL
- Go to your phone and add a Twilio number:
+14155238886 - Open your Whatsapp on your phone, send a message to the above Twilio number in the below format:
join "xxxxxx"
Note: The "xxxxxx" is different for everyone. Remember to follow the instructions on your Twilio account!
- In your repository page, navigate to
Actions > New Workflow > set up a workflow yourself. It will open up ayamlfile in code editor. - Replace everything in this
yamlfile with below:
name: Whatsapp Notification
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: whatsapp-notify
uses: kylalimza/kylalimza.github.io@main
env:
ACCOUNT_SID: ${{ secrets.ACCOUNT_SID }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
TO_WHATSAPP_NUMBER: ${{ secrets.TO_WHATSAPP_NUMBER }}- Make some changes in your GitHub repository, and commit the changes!
- Go to "Actions" and you should be able it running!
You should be able to receive a notification from Twilio as such whenever an update has been made:
