Skip to content
 
 

Repository files navigation

Repository for SGSA Website

This repository hosts the SGSA website. Everyone is welcome to contribute to this website by contributing with a pull request (PR). The next section introduces how to contribute to the repository. If you’ve never done this before, it’s easy!

The path to PR (jan 2025)

So you've decided to propose a change to the website! Ultimately, you need to make a PR, containing your changes, for the SGSA Website Committee to approve or deny. Here's how you go about that.

  1. If you've never proposed a change before, make a fork of this repo.
  • To do this, on this repo's home page, click the Fork button on the upper right (see screenshot). Name it whatever you want! (In the screenshots we called it sgsa_website.)
  • If you have previously forked the repo, then before making a new change, first click the Sync Fork button on your forked repo's home page.
  1. On your fork, you can add, upload, and edit files. All pages are stored as markdown files in the pages directory, with .md extension; all images and other files are stored in assets.
  • The simplest way to do this is directly on Github! To add or upload a new file, click the Add File button on the upper right of this repo (it might look like a + for you). To edit a markdown file, navigate to it in the file explorer, and click the pencil icon on the upper right to begin edits. When you're done, click the green Commit Changes button and write a commit message. (See multiple screenshots). If you do it this way, your changes are automatically updated on Github.
  • If you're making substantial changes, you might prefer to clone your fork to your PC, work locally, and then push your changes back to your fork on Github.
  1. Once your changes are updated on your fork on Github, it’s time to make the pull request! At your fork, click the Contribute button—it probably says it’s ahead by one or more commits—then Open pull request, and Create Pull Request (See multiple screenshots).
  • If Website Committee updated the website while you're working, then it won't simply say that you're ahead commits, but also that you're behind. You need to Sync Fork again, and get the up-to-date website, before making your pull request.

Continuous integration

This repository has a workflow implemented that automatically deploys the website. Every new commit message to the main branch of this repository will trigger the action to deploy the website with the changes from the last commit.

About

SGSA Website Repository

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages