You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,15 +44,16 @@ When translating the content to a new language you need to edit the [`i18n/confi
44
44
45
45
-[Writing CSS](/docs/css.md)
46
46
47
-
48
47
## Deploying the site
49
48
50
-
The website is set up to deploy itself whenever a new GitHub release is created from the `main` branch:
49
+
The website is set up to deploy itself whenever the "Deploy Website" GitHub action is run. This triggers a new deploy from the `main` branch where the website is built, uploaded, and a new GitHub Release is created with a `reference.zip` file containing the contents of the website for loading in the IDE.
50
+
51
+
1. Go to [Actions](https://github.com/processing/processing-website/actions)
52
+
2. Click "Deploy Website" in the left sidebar
53
+
3. Click "Run workflow" on the right
54
+
4. Fill in the details and click the green "Run workflow" button.
51
55
52
-
1. Go to [Releases](https://github.com/processing/processing-website/releases)
53
-
2. Click "Draft a new release"
54
-
3. Choose a tag for this release. This value is not used for much, so you can just use `DD-MM-YYYY`
55
-
4. Create the release. [A GitHub action will run](https://github.com/processing/processing-website/actions), which will build the website and upload to the S3 bucket (this may take up to 10-15 minutes).
56
+
Note that it's possible to deploy the website with or without making a GitHub release. For this, toggle the checkbox under "Run workflow".
56
57
57
58
## `keywords.txt`
58
59
@@ -66,6 +67,6 @@ The `processing4` repo now has an updated `java/keywords.txt` file.
66
67
67
68
## Building the site
68
69
69
-
If you need to manually build the site, you can do it by running `npm run build` from the project source. This command is that runs behind the scenes when deploying a release.
70
+
If you need to manually build the site, you can do it by running `npm run build` from the project source. This command is that runs behind the scenes when deploying a release.
70
71
71
72
It will build from the source and produce the static website in a folder `public`. Once built, the site can run in any static file server.
0 commit comments