Added GitHub Actions

This commit is contained in:
Horacio Gonzalez
2021-03-11 13:20:03 +00:00
parent 4f200c6fa2
commit 9d5c784d89

View File

@@ -63,16 +63,8 @@ If building the sites of GitPod, please remeber:
1. Hugo should then notice your changes and rebuild the site automatically
1. When you're happy with your modifications, and you want to publish the site, stop the server, go back
to the main folder and run `build.sh`
```bash
cd ..
./build.sh
```
1. Now you can push and do your PR. When the PR will be online, the site will be updated
1. When you're happy with the modifications, you can push and do your PR. When the PR will be merged, a GitHub Action will build and deploy the sites.
## Notes on adding a new site (W.I.P.)
@@ -86,4 +78,6 @@ cp -r ./les-briques-du-web ./new_site
cd new_site
rm -fr themes/rdvspeakers-theme-hugo
git submodule add git@github.com:RdvSpeakers/rdvspeakers-theme-hugo.git themes/rdvspeakers-theme-hugo
```
```
When ready to publish, don't forget to add the site to the building script `build.sh`.