Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-325: [Website] Update website deployment script to use latest LTS version of Node.js and Webpack 5.75.0 #326

Merged
merged 15 commits into from Mar 10, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 23 additions & 7 deletions .github/workflows/deploy.yml
Expand Up @@ -27,17 +27,33 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
container:
image: ubuntu:latest
kevingurney marked this conversation as resolved.
Show resolved Hide resolved
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
- name: Update packages
kevingurney marked this conversation as resolved.
Show resolved Hide resolved
run: |
apt-get update -qq
- name: Install dependencies
run: |
apt-get install -qq -y jq rsync git libyaml-0-2 npm
- name: Checkout git repository
uses: actions/checkout@v3
- name: Set GitHub workspace as git safe.directory # Required to work around: https://github.com/actions/checkout/issues/766
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- uses: actions/setup-node@v2
bundler-cache: true
env:
ImageOS: ubuntu22
- name: Install Node.js
uses: actions/setup-node@v2
kevingurney marked this conversation as resolved.
Show resolved Hide resolved
with:
cache: "npm"
- name: Install dependencies
cache: "npm"
kevingurney marked this conversation as resolved.
Show resolved Hide resolved
- name: Install Ruby dependencies
run: |
bundle install
bundle install
kevingurney marked this conversation as resolved.
Show resolved Hide resolved
- name: Configure for production
run: |
echo "JEKYLL_BASE_URL=" >> ${GITHUB_ENV}
Expand Down