Commit Graph

36 Commits

Author SHA1 Message Date
James M. Greene 91513169ea Update all Pages starter workflows to use actions/configure-pages@v3 2023-01-18 16:21:16 -06:00
Matt Wang 65ce1d1247 Update all pinned versions of ruby/setup-ruby to latest (#1869) 2022-12-20 10:22:40 +01:00
Joe Mooring 50c4e6f5a8 Fix and improve Hugo starter action
Closes #1854
2022-12-14 05:20:58 -08:00
Nguyen Long Nhat 2f81287648 Using node 18 2022-11-23 13:20:10 -06:00
James M. Greene c868fdbf8c Pages: Configure Astro origin and base path using CLI arguments 2022-11-22 21:47:03 -06:00
James M. Greene 1ffc2dce9f Pages: Update Node.js-based workflows to use non-deprecated mechanism for setting outputs
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-11-22 13:43:51 -06:00
James M. Greene d0d2da4fd3 Astro: Update to use the detected package manager 2022-11-22 13:38:23 -06:00
Adrian Mato 57f76cbb16 add: astro properties 2022-10-26 19:21:14 -07:00
Adrian Mato e05fb54537 minor tweaks for consistency with other templates 2022-10-20 16:30:54 -07:00
Adrian Mato a2272ea794 update: rename subfolder path to avoid confusion 2022-10-20 16:10:14 -07:00
Adrian Mato 4367f77de0 add: concurrency and default branch ref 2022-10-20 16:06:10 -07:00
Adrian Mato 61b58c843f Update pages/astro.yml
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
2022-09-29 15:22:03 -07:00
Adrian Mato 61aa8be816 Paths not enabled by default 2022-09-27 21:22:38 -07:00
Adrian Mato 10798e7d81 Add: Astro to starter workflows 2022-09-27 21:19:54 -07:00
James M. Greene 4b48da2252 Update Hugo to truly latest 2022-09-02 17:32:30 -05:00
Christian Oliff b12833e671 use latest version of Hugo 2022-09-01 20:55:14 +09:00
James M. Greene 9d734850ef Update all usages of ruby/setup-ruby to latest 2022-08-25 23:42:31 -05:00
James M. Greene 0836e51ad1 Merge branch 'main' into use-configure-pages-v2 2022-08-25 23:29:34 -05:00
James M. Greene 0d82602f17 Add optional quotes to Hugo CLI baseURL 2022-08-25 22:46:48 -05:00
James M. Greene 5b0989e042 Pages: Bring use of ruby/setup-ruby into compliance 2022-08-25 10:24:32 -05:00
James M. Greene 9f451f5152 Merge branch 'main' into use-configure-pages-v2 2022-08-23 13:56:39 -05:00
James M. Greene 652d758c27 Merge branch 'main' into patch-1 2022-08-23 13:44:40 -05:00
James M. Greene f2c9987d05 Merge branch 'main' into use-configure-pages-v2 2022-08-22 18:31:01 -05:00
James M. Greene bff759f503 Clarify './_site' directory usage 2022-08-22 16:44:53 -05:00
James M. Greene 709400e808 Set HUGO_ENV* env vars instead of CLI flag
Reverts https://github.com/actions/starter-workflows/pull/1689

Fixes https://github.com/actions/starter-workflows/issues/1683
2022-08-22 16:13:12 -05:00
James M. Greene f51ed1e63b Merge branch 'main' into use-configure-pages-v2 2022-08-22 14:39:57 -05:00
James M. Greene 0d3c129311 Add missing backslash for multi-line continuation
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
2022-08-22 14:37:34 -05:00
Milan Aryal 467b0208ed Pages: Set Jekyll environment as production 2022-08-22 21:30:03 +05:45
James M. Greene c7c674d47e Pages: Explicitly set Hugo environment as production 2022-08-19 11:28:44 -05:00
James M. Greene 8e45e8f5fb Remove unused step ID from a few Pages workflows 2022-08-19 10:17:23 -05:00
James M. Greene a935168dbb Add a trailing slash back into the Hugo starter workflow for maximum backward compatibility with themes 2022-08-19 10:15:25 -05:00
James M. Greene 4a6ec1eed2 Update Pages starter workflows to use actions/configure-pages@v2 2022-08-19 09:45:08 -05:00
Kenichi Kamiya 9bdc3e7253 Refer actions/deploy-pages stable tag in pages/static 2022-08-11 03:05:57 +09:00
Yoann Chaudet 095efcc4ae more metadata 2022-08-01 06:34:01 -07:00
Yoann Chaudet e262f54fe9 Address feedback 2022-07-28 18:39:43 -07:00
Jess Bees 4a8f18e34d Add starter workflows for Pages builds and deployments (#1645)
* commit dummy workflow

* Update nextjs.yml

* renaming

* actually do a node build

* add jekyll build & deploy

* add permissions

* update jekyll to use composite upload action

* update next to use composite upload action

* update icon yml

* change nexjs icon

* Cleanup further the Jekyll template

* add gatsby starter workflow

* fix composite error

* fix updated actions

* Add Hugo

* Apply suggestions from code review

* Inital commit for nuxtjs starter workflow

* Cleanup all templates

* Add baseUrl through an action

* Use `base_url` output for Hugo configuration

* Create static.yml

* Create static.properties.json

* clarify path

* alternative jekyll icon with only tube

* use alternate jekyll icon

* use original xvg with proper viewBox parameters

* Add paper-spa/configure-pages to starter workflows

Replaces paper-spa/setup-pages where appropriate.

* use setup-ruby action instead of our container

* Add starter workflow for GitHub Pages's legacy Jekyll build

Named `jekyll-gh-pages` so that it connotes the familiar "hands off"
build process of the Jekyll build as performed by github pages workers,
without sounding deprecated by using the words "legacy" or "classic".

* Use the static_site_generator input so we can modify the correct config

* Update gatsby.yml

* Update wording on the 'legacy' jekyll workflow

* Fix filename: this should have a json extension

* Fix filename: this should have a .properties.json extension

* Update nextjs.properties.json

* Update static.properties.json

* Fix typo in name of Gatsby

* Remove pull_request triggers

* Update to latest versions of core Actions

* Remove '--if-present' flag from 'npm run build' commands to prevent silent failure

* Perform static HTML export for Next.js

* Add '--no-install' flag to 'npx' usage

* Update Nuxt starter workflow to run 'generate'

* Default to using npm if not using yarn

* Reword 'nuxt generate' step name

* Update pages/gatsby.yml

* Update description of Jekyll starter workflow

* Add configure-pages step to static workflow

* Add configuration step to enable Pages

* Pages: Set `PREFIX_PATHS` env var for Gatsby build

* Update Next.js starter workflow to cache builds

See https://nextjs.org/docs/advanced-features/ci-build-caching#github-actions

* Update NuxtJS starter workflow to cache builds

Basically modeled after the Gatsby starter workflow

* Call out node ssg getting started + setup

* Update nuxt documentation

* Retarget actions referencing `paper-spa` to `actions`

Also point to newly published `v1` tags rather than `main` or `v0`.

Co-authored-by: yimysty <yimysty@github.com>
Co-authored-by: Tommy Byrd <tcbyrd@github.com>
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
Co-authored-by: Timothy <tjyung@github.com>
Co-authored-by: Smitha Borkar <12040799+smithaborkar@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2022-07-27 18:45:54 +05:30